mirror of
https://github.com/draga79/NotiMail.git
synced 2024-09-19 02:54:20 +02:00
Removed line that could print an error when ctrl+c was hit: a leftover of the global db handler
This commit is contained in:
parent
19756f055b
commit
295d244517
1 changed files with 0 additions and 1 deletions
|
@ -350,7 +350,6 @@ def shutdown_handler(signum, frame):
|
|||
handler.mail.logout()
|
||||
except:
|
||||
pass
|
||||
db_handler.close() # Use the global db_handler
|
||||
print("Cleanup complete. Exiting.")
|
||||
logging.info(f"Cleanup complete. Exiting.")
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in a new issue