diff --git a/service.py b/service.py index 1c75fea..42c565f 100755 --- a/service.py +++ b/service.py @@ -104,6 +104,7 @@ accounts = cursor.fetchall() # p.map(scrape_posts, accounts) print("Generating posts") +# TODO: check time between last post and now cursor.execute("SELECT handle FROM bots WHERE enabled = TRUE") bots = cursor.fetchall() diff --git a/webui.py b/webui.py index 06e9f8f..4c6496e 100644 --- a/webui.py +++ b/webui.py @@ -292,7 +292,7 @@ def bot_create(): else: if 'is_pro' in j['contact_account']: # gab instance - session['error'] = "Eat shit and die, fascist scum." + session['error'] = "Gab instances are not supported." else: session['instance_type'] = "Mastodon" session['step'] += 1