diff options
-rwxr-xr-x | utils/common/gitscraper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py index 49ef42de13..cfa017aed0 100755 --- a/utils/common/gitscraper.py +++ b/utils/common/gitscraper.py @@ -115,7 +115,7 @@ def get_object(repo, blob, destfile): return False if not os.path.exists(os.path.dirname(destfile)): os.makedirs(os.path.dirname(destfile)) - f = open(destfile, 'w') + f = open(destfile, 'wb') for line in cmdout[0]: f.write(line) f.close() |