time for print-debugging

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-06 08:20:45 +02:00
parent 842b971602
commit 9a1d88b22a
1 changed files with 3 additions and 0 deletions

View File

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