file can't be empty
This commit is contained in:
parent
ee8d4159d5
commit
c077b09717
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ def main():
|
|||
if not args.mode:
|
||||
args.mode = "encrypted"
|
||||
|
||||
if not args.file:
|
||||
bail("You must specify a file")
|
||||
|
||||
with open(args.file, "rb") as f:
|
||||
data = f.read()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue