Skip to content

Commit

Permalink
just print json, do not encode string
Browse files Browse the repository at this point in the history
Signed-off-by: R4SAS <[email protected]>
  • Loading branch information
r4sas committed Jul 26, 2024
1 parent c22c0f0 commit ac0a145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pbincli/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import signal, sys
import json, signal, sys
from urllib.parse import parse_qsl

from pbincli.api import Shortener
Expand Down Expand Up @@ -117,7 +117,7 @@ def send(args, api_client, settings=None):
passphrase))
except Exception as ex:
response['result']['short_error'] = ex
print(json_encode(response))
print(json.dumps(response))
sys.exit(0)

else:
Expand Down

0 comments on commit ac0a145

Please sign in to comment.