fix response handler (closes #19)
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
@@ -73,6 +73,7 @@ def send(args, api_client, settings=None):
|
||||
PBinCLIError("Something went wrong...\nError: Empty response.")
|
||||
|
||||
if args.short:
|
||||
print("\nQuerying URL shortening service...")
|
||||
shortener.getlink("{}?{}#{}".format(
|
||||
settings['server'],
|
||||
result['id'],
|
||||
|
||||
Reference in New Issue
Block a user