add logging
This commit is contained in:
parent
078c9270b7
commit
658dec83cd
1
main.py
1
main.py
@ -30,6 +30,7 @@ async def check_updates():
|
|||||||
tag_list.sort()
|
tag_list.sort()
|
||||||
for tl_idx in range(0, len(tag_list), 40):
|
for tl_idx in range(0, len(tag_list), 40):
|
||||||
tags = ' '.join(f'~{tag}' for tag in tag_list[tl_idx: tl_idx + 40])
|
tags = ' '.join(f'~{tag}' for tag in tag_list[tl_idx: tl_idx + 40])
|
||||||
|
logging.warning(tags)
|
||||||
posts = await e621.get_posts(tags)
|
posts = await e621.get_posts(tags)
|
||||||
if not posts:
|
if not posts:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user