mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
52ea6b3a7e
commit
2d0a53bd29
3
utils.py
3
utils.py
|
@ -3492,7 +3492,8 @@ def undo_reaction_collection_entry(recent_posts_cache: {},
|
||||||
total_items = obj['reactions']['totalItems']
|
total_items = obj['reactions']['totalItems']
|
||||||
item_found = False
|
item_found = False
|
||||||
for like_item in obj['reactions']['items']:
|
for like_item in obj['reactions']['items']:
|
||||||
if like_item.get('actor'):
|
if not like_item.get('actor'):
|
||||||
|
continue
|
||||||
if like_item['actor'] == actor and \
|
if like_item['actor'] == actor and \
|
||||||
like_item['content'] == emoji_content:
|
like_item['content'] == emoji_content:
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in New Issue