Remove decrypted vault temp_file mistakenly left from patch making vault edit idempotent
This bug was introduced in commit f8bf2ba
on July 27. Hasn't gone out
in a release yet.
This commit is contained in:
parent
56ae3a032f
commit
d2c948dd6a
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ class VaultEditor:
|
||||||
|
|
||||||
# Do nothing if the content has not changed
|
# Do nothing if the content has not changed
|
||||||
if existing_data == tmpdata and not force_save:
|
if existing_data == tmpdata and not force_save:
|
||||||
|
os.remove(tmp_path)
|
||||||
return
|
return
|
||||||
|
|
||||||
# create new vault
|
# create new vault
|
||||||
|
|
Loading…
Reference in a new issue