fix: bug
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-11 16:45:23 +08:00
parent a7f3479fcf
commit e8e4f21643
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,6 @@ from functools import wraps
from flask import request, session from flask import request, session
from app import rpc
def split_group(dict_list, key): def split_group(dict_list, key):
dict_list.sort(key=itemgetter(key)) dict_list.sort(key=itemgetter(key))
@ -24,6 +22,7 @@ def login_required(f):
""" """
登陆保护验证用户是否登陆 登陆保护验证用户是否登陆
""" """
from app import rpc
@wraps(f) @wraps(f)
def wrapper(*args, **kwargs): def wrapper(*args, **kwargs):