mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
a foolish mistake made by a panicked dunce
This commit is contained in:
parent
b9609af0ee
commit
cbdddea33e
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import re, json
|
||||||
def bot_accounts_add(mysql, cfg):
|
def bot_accounts_add(mysql, cfg):
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
# remove leading/trailing whitespace
|
# remove leading/trailing whitespace
|
||||||
|
if 'account' in request.form:
|
||||||
session['handle'] = request.form['account'].rstrip().lstrip()
|
session['handle'] = request.form['account'].rstrip().lstrip()
|
||||||
if session['step'] == 1:
|
if session['step'] == 1:
|
||||||
if session['handle'] == session['bot']:
|
if session['handle'] == session['bot']:
|
||||||
|
|
Loading…
Reference in a new issue