Kaydet (Commit) 5cb78462 authored tarafından Phillip J. Eby's avatar Phillip J. Eby

Fix "upload" command garbling and truncating files on Windows. If it's a

binary file, use 'rb'!
üst 4c3259cb
......@@ -71,7 +71,7 @@ class upload(Command):
dry_run=self.dry_run)
# Fill in the data
content = open(filename).read()
content = open(filename,'rb').read()
data = {
':action':'file_upload',
'protcol_version':'1',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment