mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-15 11:51:02 +00:00
Fix URL queue handling.
This commit is contained in:
parent
96c6a7f378
commit
e5735e2a5d
1 changed files with 2 additions and 2 deletions
4
linkcheck/cache/urlqueue.py
vendored
4
linkcheck/cache/urlqueue.py
vendored
|
|
@ -170,8 +170,8 @@ class UrlQueue (object):
|
|||
else:
|
||||
self.seen[key] = 0
|
||||
key = url_data.cache_url_key
|
||||
assert key is not None
|
||||
del self.in_progress[key]
|
||||
if key in self.in_progress:
|
||||
del self.in_progress[key]
|
||||
self.finished_tasks += 1
|
||||
self.unfinished_tasks -= 1
|
||||
if self.unfinished_tasks <= 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue