This commit is contained in:
j 2011-12-31 16:14:47 +05:30
parent b62b5026ec
commit b6c83219b4

View file

@ -446,6 +446,8 @@ class API(ox.API):
for key in data:
form.add_field(key, data[key])
data = self._json_request(url, form)
if 'url' in data:
print data['url']
if 'uploadUrl' in data:
uploadUrl = data['uploadUrl']
f = open(filename)