From 71302c8a90e4680a1920e7272c4e36d827c3e213 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Sat, 17 Aug 2024 22:18:35 +0200 Subject: [PATCH] feat: add status --- threads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/threads.py b/threads.py index 7a32841..59001ee 100755 --- a/threads.py +++ b/threads.py @@ -11,6 +11,7 @@ threads = Blueprint('threads', __name__, template_folder='templates') # TODO: move following to an app config or sqlite ######### thread_ids = [ + '112979161274124372', '112857903897175549', '112857168376771706', '112524983806134679', @@ -67,7 +68,7 @@ def thread(id): status['summary'] = status['summary'][:69] + '...' return render_template('threads.html', threads=[status], app=app, attribution=attribution, render_date=datetime.now()) else: - return '

Not Found

¯\_(ツ)_/¯

go home', 404 + return '

Not Found

🤷🤷‍♀️🤷‍♂️

go home', 404 @threads.route('/api') @cache.cached(timeout=300)