Removed line that could print an error when ctrl+c was hit: a leftover of the global db handler

This commit is contained in:
Stefano Marinelli 2023-10-22 08:38:07 +02:00
parent 19756f055b
commit 295d244517

View file

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