add logging
This commit is contained in:
parent
40177720c4
commit
7f64d44da8
1
main.py
1
main.py
@ -144,6 +144,7 @@ async def check_updates():
|
||||
post_versions: List[E621PostVersion] = []
|
||||
logging.warning(f'Getting post versions from id {last_post_version}')
|
||||
for page in count(1):
|
||||
logging.warning(f'Loading page {page}')
|
||||
post_versions_page = await e621.get_post_versions(last_post_version, page)
|
||||
post_versions += post_versions_page
|
||||
if not last_post_version or not post_versions_page:
|
||||
|
Loading…
Reference in New Issue
Block a user