More ruff linter fixes

This commit is contained in:
Ian Renton
2026-08-15 08:43:19 +01:00
parent dd89ff4af7
commit a6e54f524d
43 changed files with 99 additions and 153 deletions
-5
View File
@@ -14,15 +14,10 @@ from server.webserver import WEB_SERVER
logger = logging.getLogger(__name__)
# Globals
run = True
def shutdown(_signum=None, _frame=None):
"""Shutdown function"""
global run
logger.info("Stopping program...")
WEB_SERVER.stop()
DATA_PROVIDERS.stop()