Fix -K support

master
Daniel Berteaud 6 years ago
parent 5d9714c6dc
commit 7ff6f1a504
  1. 2
      bin/var_editor.py

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

Loading…
Cancel
Save