mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 16:48:58 +00:00
Compare commits
No commits in common. "38463fefb2aec3a1cd59f7e9efdd598296205573" and "2cbad2eff34de1a953726039ceb7a5a358931ac9" have entirely different histories.
38463fefb2
...
2cbad2eff3
3 changed files with 3 additions and 7 deletions
|
@ -86,9 +86,7 @@ db = MySQLdb.connect(
|
|||
host = cfg['db_host'],
|
||||
user=cfg['db_user'],
|
||||
passwd=cfg['db_pass'],
|
||||
db=cfg['db_name'],
|
||||
use_unicode=True,
|
||||
charset="utf8mb4"
|
||||
db=cfg['db_name']
|
||||
)
|
||||
|
||||
cursor = db.cursor()
|
||||
|
|
|
@ -11,9 +11,7 @@ db = MySQLdb.connect(
|
|||
host = cfg['db_host'],
|
||||
user=cfg['db_user'],
|
||||
passwd=cfg['db_pass'],
|
||||
db=cfg['db_name'],
|
||||
use_unicode=True,
|
||||
charset="utf8mb4"
|
||||
db=cfg['db_name']
|
||||
)
|
||||
|
||||
print("Cleaning up database")
|
||||
|
|
2
webui.py
2
webui.py
|
@ -435,7 +435,7 @@ def bot_create():
|
|||
return redirect(url_for("home"), 303)
|
||||
|
||||
else:
|
||||
if 'step' in session and session['step'] == 4:
|
||||
if session['step'] == 4:
|
||||
try:
|
||||
# test authentication
|
||||
client = Mastodon(client_id=session['client_id'], client_secret=session['client_secret'], api_base_url=session['instance'])
|
||||
|
|
Loading…
Reference in a new issue