1
0
Fork 0
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:
Lynne Megido 2019-09-10 11:41:27 +10:00
parent d7f15601d5
commit fb017468fd
2 changed files with 2 additions and 1 deletions

View file

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

View file

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