Encode password before it is saved to file as Python 3 input returns a string, not bytes
This commit is contained in:
parent
d3fd1ad9e3
commit
cd11167067
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ class TargetIos(Target):
|
|||
|
||||
if save:
|
||||
with open(password_file, 'wb') as fd:
|
||||
fd.write(password)
|
||||
fd.write(password.encode())
|
||||
|
||||
def get_target(buildozer):
|
||||
return TargetIos(buildozer)
|
||||
|
|
Loading…
Reference in a new issue