diff --git a/plugins/PluginDownloader/plugin.py b/plugins/PluginDownloader/plugin.py index 225bc55c2..778b206a1 100644 --- a/plugins/PluginDownloader/plugin.py +++ b/plugins/PluginDownloader/plugin.py @@ -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