From 9a1d88b22a70dbf54dbd784a7df0500ae640432f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 6 Nov 2022 08:20:45 +0200 Subject: [PATCH] time for print-debugging --- files/routes/front.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/front.py b/files/routes/front.py index 1c06f2aa91..656e595a43 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -146,7 +146,10 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false" social_found = False music_found = False for post in posts: + print(post.sub, flush=True) if post.sub == 'social': + print(post.id, flush=True) + print(social_found, flush=True) if social_found: posts.remove(post) else: social_found = True elif post.sub == 'music':