From b1ed62c150ad502498098ac128a1468f486abbac Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 12 Apr 2024 13:51:53 +0200 Subject: [PATCH] delete unused imports --- files/routes/front.py | 2 +- files/routes/posts.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 2df31ef19..b0cc9d172 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -10,7 +10,7 @@ from files.helpers.sorting_and_time import * from files.helpers.useractions import * from files.helpers.can_see import * from files.routes.wrappers import * -from files.__main__ import app, cache, limiter, redis_instance +from files.__main__ import app, cache, limiter @app.get("/") @app.get("/h/") diff --git a/files/routes/posts.py b/files/routes/posts.py index c43217a24..cba171d5a 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -30,7 +30,7 @@ from files.routes.wrappers import * from .front import frontlist from .users import userpagelisting -from files.__main__ import app, limiter, redis_instance +from files.__main__ import app, limiter def _add_post_view(pid): db = db_session()