time for print-debugging
parent
842b971602
commit
9a1d88b22a
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue