Pavel Loginov 2 years ago
parent
commit
bd4af33ae9
  1. 4
      app/funct.py

4
app/funct.py

@ -349,8 +349,8 @@ def is_admin(level=1):
return False
def page_for_admin(given_level=1) -> None:
if not is_admin(level=given_level):
def page_for_admin(level=1) -> None:
if not is_admin(level=level):
print('<meta http-equiv="refresh" content="0; url=/">')
return

Loading…
Cancel
Save