fix errors

This commit is contained in:
R4SAS 2019-06-21 14:35:45 +00:00
parent dc034b1d55
commit 5c6b9611d8

View File

@ -72,7 +72,7 @@ def send(args, api_client):
def get(args, api_client): def get(args, api_client):
from pbincli.utils import check_writable from pbincli.utils import check_writable, json_encode
try: try:
pasteid, passphrase = args.pasteinfo.split("#") pasteid, passphrase = args.pasteinfo.split("#")
@ -90,7 +90,7 @@ def get(args, api_client):
if args.password: if args.password:
paste.setPassword(args.password) paste.setPassword(args.password)
if args.debug: print("Password:\t{}".format(password)) if args.debug: print("Password:\t{}".format(args.password))
result = api_client.get(pasteid) result = api_client.get(pasteid)