Skip to content
Snippets Groups Projects
Commit 7ceb14b5 authored by Bryan Tong Minh's avatar Bryan Tong Minh
Browse files

Fix for upload-by-url

parent 659f9237
No related branches found
No related tags found
No related merge requests found
......@@ -379,7 +379,7 @@ class Site(object):
predata['session_key'] = session_key
if file is None:
postdata = predata
postdata = self._query_string(predata)
else:
if type(file) is str:
file_size = len(file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment