mirror of
https://github.com/glomatico/votify.git
synced 2026-09-27 19:42:29 +02:00
Await asyncio.sleep in download loop
This commit is contained in:
+1
-1
@@ -216,6 +216,6 @@ async def main(config: CliConfig):
|
||||
)
|
||||
finally:
|
||||
download_index += 1
|
||||
asyncio.sleep(config.wait_interval)
|
||||
await asyncio.sleep(config.wait_interval)
|
||||
|
||||
logger.info(f"Finished with {error_count} error(s)")
|
||||
|
||||
Reference in New Issue
Block a user