bug
This commit is contained in:
parent
b61fede263
commit
0ea2a0440f
@ -23,7 +23,7 @@ def main (args):
|
|||||||
if args.showurl:
|
if args.showurl:
|
||||||
print requesturl
|
print requesturl
|
||||||
else:
|
else:
|
||||||
results = getjson(urlopen(requesturl))['data']['padIDs']
|
results = getjson(requesturl)['data']['padIDs']
|
||||||
if args.format == "json":
|
if args.format == "json":
|
||||||
print json.dumps(results)
|
print json.dumps(results)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user