Release WiFiTrip format v2.0.0

This commit is contained in:
2026-11-22 09:55:25 +03:00
parent 427f5759c9
commit cb2e659a57
9 changed files with 1117 additions and 3374 deletions
+9
View File
@@ -56,6 +56,15 @@ RECENT_SESSIONS_LIMIT = REPORTS_CONFIG.get(
10
)
try:
SESSIONS_PAGE_LIMIT = int(
REPORTS_CONFIG.get("sessions_page_limit", 20)
)
if SESSIONS_PAGE_LIMIT <= 0:
raise ValueError
except (TypeError, ValueError):
SESSIONS_PAGE_LIMIT = 20
TIMEZONE = CONFIG.get("timezone", "Europe/Moscow")
@lru_cache(maxsize=1)