UNlink is implicit

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

View File

@ -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()