更新README,删除无用的文件,删除无用的代码

This commit is contained in:
mkg
2021-03-26 21:22:42 +08:00
parent 2455351347
commit 6757c5d595
3 changed files with 62 additions and 38 deletions
-5
View File
@@ -32,11 +32,6 @@ def create_app():
OpenDug(app)
# logo
logo()
@app.template_global
def authorize(power):
return bool(power in session.get('permissions'))
return app