Commit 63579fd2 by Bálint Máhonfai

Fix flake8 warning

parent 4b88e9f4
......@@ -285,9 +285,11 @@ class Disk(object):
with open(exported_path, 'rb') as exported_disk:
try:
m = MultipartEncoder(
{'data': (exported_name + '.' + format_dict[format], exported_disk)}
{'data': (exported_name + '.' + format_dict[format],
exported_disk)}
)
response = requests.post(upload_link,
response = requests.post(
upload_link,
data=m,
headers={'Content-Type': m.content_type},
params={'no_redirect': ''})
......
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 sign in to comment