Browse Source

show filename anyway

pull/4/head
R4SAS 8 years ago
parent
commit
af722098f1
  1. 2
      pbincli/actions.py

2
pbincli/actions.py

@ -142,7 +142,7 @@ def get(args):
file = b64decode(attachment) file = b64decode(attachment)
filename = attachmentname filename = attachmentname
if args.debug: print("Filename:\t{}\n".format(filename)) print("Filename:\t{}\n".format(filename))
check_writable(filename) check_writable(filename)
with open(filename, "wb") as f: with open(filename, "wb") as f:

Loading…
Cancel
Save