Reference the correct post
https://old.reddit.com/r/hentaimemes/comments/wv67jr/
This commit is contained in:
parent
110381484e
commit
36f2805d60
|
@ -108,7 +108,7 @@ async def main():
|
||||||
if unique_id in give_ups:
|
if unique_id in give_ups:
|
||||||
return
|
return
|
||||||
cpid = getattr(submission, 'crosspost_parent', None)
|
cpid = getattr(submission, 'crosspost_parent', None)
|
||||||
if cpid and getattr(random_post, 'crosspost_parent_list', None):
|
if cpid and getattr(submission, 'crosspost_parent_list', None):
|
||||||
cpid = cpid[3:]
|
cpid = cpid[3:]
|
||||||
if submission.id in chat_sp + global_sp or cpid in chat_sp + global_sp:
|
if submission.id in chat_sp + global_sp or cpid in chat_sp + global_sp:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue