fix response handler (closes #19)

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas
2019-09-18 13:46:30 +00:00
parent 86c5051fcf
commit b596f42b7e
2 changed files with 3 additions and 2 deletions

View File

@@ -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'],