Forgot one chunk of code in previous commit

master
pictuga 2013-12-22 18:27:18 +01:00
parent a5e4775f68
commit bb48ee4518
1 changed files with 2 additions and 0 deletions

View File

@ -475,6 +475,8 @@ def Gather(url, cachePath, options):
# url clean up # url clean up
log(url) log(url)
if url is None:
return False
if urlparse.urlparse(url).scheme not in PROTOCOL: if urlparse.urlparse(url).scheme not in PROTOCOL:
url = 'http://' + url url = 'http://' + url