mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-10 23:53:11 +00:00
whops, reintroduce url_data.url is None check
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3295 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f30964679c
commit
d557b0208f
1 changed files with 4 additions and 1 deletions
|
|
@ -108,7 +108,10 @@ class Aggregate (object):
|
|||
Check one URL data instance.
|
||||
"""
|
||||
try:
|
||||
url = url_data.url.encode("ascii", "replace")
|
||||
if url_data.url is None:
|
||||
url = ""
|
||||
else:
|
||||
url = url_data.url.encode("ascii", "replace")
|
||||
threading.currentThread().setName("Thread-%s" % url)
|
||||
if not url_data.has_result:
|
||||
url_data.check()
|
||||
|
|
|
|||
Loading…
Reference in a new issue