typo
This commit is contained in:
parent
ee390fcdb1
commit
c7b396d004
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ class API(ox.API):
|
|||
uploadUrl = data['uploadUrl']
|
||||
if uploadUrl.startswith('/'):
|
||||
u = urlparse(url)
|
||||
uploadUrl = '%s//%s%s' % (u.scheme, u.netloc, uploadUrl)
|
||||
uploadUrl = '%s://%s%s' % (u.scheme, u.netloc, uploadUrl)
|
||||
f = open(filename)
|
||||
fsize = os.stat(filename).st_size
|
||||
done = 0
|
||||
|
|
Loading…
Reference in a new issue