This commit is contained in:
j 2014-01-02 19:56:27 +05:30
parent c58e66f61e
commit ee390fcdb1

View file

@ -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