mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-17 11:01:06 +00:00
oopsie
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@763 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
38858cf52b
commit
6f22336c1b
1 changed files with 2 additions and 2 deletions
|
|
@ -65,14 +65,14 @@ class FtpUrlData (ProxyUrlData):
|
|||
|
||||
def isHtml (self):
|
||||
# guess by extension
|
||||
for ro in linkcheck.extensions.values():
|
||||
for ro in extensions.values():
|
||||
if ro.search(self.url):
|
||||
return 1
|
||||
return None
|
||||
|
||||
|
||||
def parseUrl (self):
|
||||
for key,ro in linkcheck.extensions.items():
|
||||
for key,ro in extensions.items():
|
||||
if ro.search(self.url):
|
||||
return getattr(self, "parse_"+key)()
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue