mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
PluginDownloader: Open target files in binary mode.
This commit is contained in:
parent
c149e8fa81
commit
4fc1e934c7
@ -138,7 +138,7 @@ class GithubRepository(GitRepository):
|
||||
if extractedFile is None:
|
||||
os.mkdir(newFileName)
|
||||
else:
|
||||
open(newFileName, 'a').write(extractedFile.read())
|
||||
open(newFileName, 'ab').write(extractedFile.read())
|
||||
finally:
|
||||
archive.close()
|
||||
del archive
|
||||
|
Loading…
Reference in New Issue
Block a user