1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-02-25 18:07:33 +00:00

Explicitly removed temporary file and deleted outdated comment.

This commit is contained in:
Teal Dulcet 2025-02-15 03:09:07 -08:00
parent 70bf676b73
commit 7c3c956228
2 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,6 @@ def should_force_full(config, env):
return True
return False
# If we got here there are no (full) backups, so make one.
# (I love for/else blocks. Here it's just to show off.)
return True
def get_passphrase(env):

View File

@ -87,6 +87,8 @@ def scan_files(collector):
else:
stop_scan = False
if tmp_file is not None:
os.remove(tmp_file.name)
def scan_mail_log(env):