Little fix in app
This commit is contained in:
parent
4b62ab968c
commit
5bb35cc64e
1 changed files with 3 additions and 2 deletions
|
|
@ -42,9 +42,10 @@ def admin_prepare():
|
||||||
|
|
||||||
arr_count=cursor.fetchone()
|
arr_count=cursor.fetchone()
|
||||||
|
|
||||||
if arr_count['count_id']==0:
|
if arr_count['count_id']!=0:
|
||||||
|
|
||||||
return redirect(url_for('admin_app.login'))
|
#return redirect(url_for('admin_app.login'))
|
||||||
|
pass
|
||||||
|
|
||||||
"""
|
"""
|
||||||
#else:
|
#else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue