minor: fix: явное указание типа to_template

This commit is contained in:
2026-04-21 01:05:11 +03:00
parent 20877dc98e
commit 1f0aaa7687
12 changed files with 23 additions and 25 deletions

View File

@@ -61,7 +61,7 @@ def statistic_menu(request: HttpRequest) -> HttpResponse:
:return: HttpResponse -- исходящий http-ответ
"""
time_start = time()
to_template = {}
to_template: dict[str, object] = {}
seria_id, for_seria_nav = seria_nav(0)
to_template.update(for_seria_nav)
# проверяем какой JS с картами и PieCharts: упакованные или нет (откуда берётся не упакованный -- не помню)