Fix -K support

This commit is contained in:
Daniel Berteaud 2018-12-02 10:13:39 +01:00
parent 5d9714c6dc
commit 7ff6f1a504
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def main():
if opt == '-k':
key = val
elif opt == '-K':
key = open(arg, 'rb').read()
key = open(val, 'rb').read()
if key == '':
usage()