sensible output if no extractor found

This commit is contained in:
Mike Fährmann
2015-11-06 13:21:53 +01:00
parent 6e67935b59
commit 8e9bd1d793
2 changed files with 3 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ def find(url):
match = re.match(pattern, url)
if match:
return klass(match), module.info
return None, None
# --------------------------------------------------------------------
# internals