mirror of
https://github.com/r4sas/PBinCLI
synced 2025-01-09 06:18:00 +00:00
fix errors
This commit is contained in:
parent
dc034b1d55
commit
5c6b9611d8
@ -72,7 +72,7 @@ def send(args, api_client):
|
||||
|
||||
|
||||
def get(args, api_client):
|
||||
from pbincli.utils import check_writable
|
||||
from pbincli.utils import check_writable, json_encode
|
||||
|
||||
try:
|
||||
pasteid, passphrase = args.pasteinfo.split("#")
|
||||
@ -90,7 +90,7 @@ def get(args, api_client):
|
||||
|
||||
if 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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user