Commit 8f62489d authored by Hugo's avatar Hugo

Unnecessary list call - rewrite as a literal

parent 79b99556
......@@ -1324,7 +1324,7 @@ class API(object):
filename = filename.encode("utf-8")
BOUNDARY = b'Tw3ePy'
body = list()
body = []
body.append(b'--' + BOUNDARY)
body.append('Content-Disposition: form-data; name="{0}";'
' filename="{1}"'.format(form_field, filename)
......
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