From fb017468fd707b58fd6f6f97cbcb91d0872131fc Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 10 Sep 2019 11:41:27 +1000 Subject: [PATCH] less inflammatory error message --- service.py | 1 + webui.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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