Update public source

This commit is contained in:
2026-10-11 08:02:54 +03:00
parent 18463d2c8b
commit 18837b2a08
5 changed files with 58 additions and 40 deletions
+8 -2
View File
@@ -68,6 +68,11 @@ from sudo import SudoChecker
from config import Config
from gps_test import GPSTestService
from gui.timezones import get_timezone_options
from logging_config import (
LOG_DATE_FORMAT,
LOG_FORMAT,
UTCFormatter,
)
app = Flask(
__name__,
@@ -103,8 +108,9 @@ if not logger.handlers:
)
handler.setFormatter(
logging.Formatter(
"%(asctime)s [%(levelname)s] %(name)s: %(message)s"
UTCFormatter(
LOG_FORMAT,
datefmt=LOG_DATE_FORMAT,
)
)