Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3259c commit 5cb7846Copy full SHA for 5cb7846
1 file changed
Lib/distutils/command/upload.py
@@ -71,7 +71,7 @@ def upload_file(self, command, pyversion, filename):
71
dry_run=self.dry_run)
72
73
# Fill in the data
74
- content = open(filename).read()
+ content = open(filename,'rb').read()
75
data = {
76
':action':'file_upload',
77
'protcol_version':'1',
0 commit comments