mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
less inflammatory error message
This commit is contained in:
parent
d7f15601d5
commit
fb017468fd
2 changed files with 2 additions and 1 deletions
|
@ -104,6 +104,7 @@ accounts = cursor.fetchall()
|
||||||
# p.map(scrape_posts, accounts)
|
# p.map(scrape_posts, accounts)
|
||||||
|
|
||||||
print("Generating posts")
|
print("Generating posts")
|
||||||
|
# TODO: check time between last post and now
|
||||||
cursor.execute("SELECT handle FROM bots WHERE enabled = TRUE")
|
cursor.execute("SELECT handle FROM bots WHERE enabled = TRUE")
|
||||||
bots = cursor.fetchall()
|
bots = cursor.fetchall()
|
||||||
|
|
||||||
|
|
2
webui.py
2
webui.py
|
@ -292,7 +292,7 @@ def bot_create():
|
||||||
else:
|
else:
|
||||||
if 'is_pro' in j['contact_account']:
|
if 'is_pro' in j['contact_account']:
|
||||||
# gab instance
|
# gab instance
|
||||||
session['error'] = "Eat shit and die, fascist scum."
|
session['error'] = "Gab instances are not supported."
|
||||||
else:
|
else:
|
||||||
session['instance_type'] = "Mastodon"
|
session['instance_type'] = "Mastodon"
|
||||||
session['step'] += 1
|
session['step'] += 1
|
||||||
|
|
Loading…
Reference in a new issue