From 6d03f2e9fb2d209c7c9b73d6940398757f7b031a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:11:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pyflask/namespaces/system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pyflask/namespaces/system.py b/src/pyflask/namespaces/system.py index 1bdef06da..052b2742f 100644 --- a/src/pyflask/namespaces/system.py +++ b/src/pyflask/namespaces/system.py @@ -21,6 +21,7 @@ def get(self) -> Union[Dict[str, int], None]: return dict(physical=physical, logical=logical) + @system_namespace.route("/all_timezones") class GetTimezones(flask_restx.Resource): @@ -42,4 +43,4 @@ class GetTimezones(flask_restx.Resource): def get(self) -> str: import tzlocal - return tzlocal.get_localzone_name() \ No newline at end of file + return tzlocal.get_localzone_name()