show url
This commit is contained in:
parent
b62b5026ec
commit
b6c83219b4
1 changed files with 2 additions and 0 deletions
|
@ -446,6 +446,8 @@ class API(ox.API):
|
||||||
for key in data:
|
for key in data:
|
||||||
form.add_field(key, data[key])
|
form.add_field(key, data[key])
|
||||||
data = self._json_request(url, form)
|
data = self._json_request(url, form)
|
||||||
|
if 'url' in data:
|
||||||
|
print data['url']
|
||||||
if 'uploadUrl' in data:
|
if 'uploadUrl' in data:
|
||||||
uploadUrl = data['uploadUrl']
|
uploadUrl = data['uploadUrl']
|
||||||
f = open(filename)
|
f = open(filename)
|
||||||
|
|
Loading…
Reference in a new issue