Fix -K support
This commit is contained in:
parent
5d9714c6dc
commit
7ff6f1a504
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue