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 08f60f1 commit 73d0d3fCopy full SHA for 73d0d3f
support/manage.py
@@ -211,7 +211,7 @@ def release(args):
211
req = urllib.request.Request(
212
f'{uploads_url}/{id}/assets?name={package}',
213
headers={'Content-Type': 'application/zip'} | auth_headers,
214
- data=open('build/fmt/' + package, 'rb'), method='POST')
+ data=open('build/fmt/' + package, 'rb').read(), method='POST')
215
with urllib.request.urlopen(req) as response:
216
if response.status != 201:
217
raise Exception(f'Failed to upload an asset '
0 commit comments