Deleting temporary file

This commit is contained in:
Benjamin Collet 2017-06-01 17:16:57 +02:00
parent cfcfea5a9d
commit 7d8e3abb74
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ def edit(args):
update(parser.parse_args(["update", args.type, args.key, tmp_name]))
else:
print "Object unchanged, not updating"
os.unlink(tmp_name)
return