Skip to content

Commit

Permalink
remove .decode() on string. Perhaps code that was never migrated from…
Browse files Browse the repository at this point in the history
… python 2.7?
  • Loading branch information
brentpicasso committed Oct 20, 2024
1 parent 8f1d40f commit 254440d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def _build_package(self, args, package_type):
# .../build/bootstrap_builds/sdl2-python3/gradlew
# if docker on windows, gradle contains CRLF
output = shprint(
sh.Command('dos2unix'), gradlew._path.decode('utf8'),
sh.Command('dos2unix'), gradlew._path,
_tail=20, _critical=True, _env=env
)
if args.build_mode == "debug":
Expand Down

0 comments on commit 254440d

Please sign in to comment.