Silly me.

This commit is contained in:
Rémi Oudin 2018-02-22 15:35:46 +01:00
parent 9b78e268c9
commit 77ca7ebcb9
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ async def async_print(url):
async def async_crawler(url):
queue = [url]
crawled = []
while (not queue) or (len(crawled) < HARD_LIMIT):
while queue or (len(crawled) < HARD_LIMIT):
async with aiohttp.ClientSession() as session:
try:
url = queue.pop(0)