1
0
Fork 0
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.

3 changed files with 3 additions and 7 deletions

View file

@ -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()

View file

@ -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")

View file

@ -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'])