fixed internal error
This commit is contained in:
@@ -19,11 +19,6 @@ def manage_bot(option):
|
|||||||
if proc:
|
if proc:
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
|
|
||||||
try:
|
|
||||||
manage_bot('start')
|
|
||||||
except:
|
|
||||||
print("Some error in starting bot. Please check the config vars")
|
|
||||||
|
|
||||||
@app.route("/login", methods=['GET', 'POST'])
|
@app.route("/login", methods=['GET', 'POST'])
|
||||||
def login():
|
def login():
|
||||||
if current_user.is_authenticated:
|
if current_user.is_authenticated:
|
||||||
|
|||||||
Reference in New Issue
Block a user