UNlink is implicit

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

@ -41,7 +41,6 @@ def main():
# We closed the editor, we just have to open the cleartext file, encrypt its content
# and save it
clear = open(tmp.name, 'rb').read()
os.unlink(tmp.name)
wcrypt = open(args[0], 'wb')
wcrypt.write(f.encrypt(clear))
wcrypt.flush()

Loading…
Cancel
Save