From 3b3c4991839854bb164405c1693ddf244c7bee01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CFuHsinyu=E2=80=9D?= Date: Mon, 8 Jul 2024 12:06:43 +0200 Subject: [PATCH] improve code styles PEP8 --- admin/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/admin.py b/admin/admin.py index abca1e935..1264e10de 100644 --- a/admin/admin.py +++ b/admin/admin.py @@ -3,8 +3,8 @@ __copyright__ = "Copyright (c) 2024, Utrecht University" __license__ = "GPLv3, see LICENSE" -from functools import wraps import json +from functools import wraps from os import path from flask import ( @@ -44,6 +44,7 @@ def decorated_function(*args, **kwargs): return decorated_function + @admin_bp.route('/set_banner', methods=['POST']) @admin_required def set_banner():