stop spamming console

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-06 08:21:58 +02:00
parent 9a1d88b22a
commit 12ceae5677
1 changed files with 4 additions and 3 deletions

View File

@ -146,10 +146,11 @@ 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 v and v.id == AEVANN_ID: print(post.sub, flush=True)
if post.sub == 'social':
print(post.id, flush=True)
print(social_found, flush=True)
if v and v.id == AEVANN_ID:
print(post.id, flush=True)
print(social_found, flush=True)
if social_found: posts.remove(post)
else: social_found = True
elif post.sub == 'music':