Browse Source

Fix return.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
4075d887e9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py View File

@@ -96,7 +96,7 @@ class ExclusionsDB(object):
line = re.sub(r"(#|==).*$", "", line).strip()
if line:
urls.add("re:" + line)
return
return urls

regexes = [
r"url\s*=\s*(?:\<nowiki\>)?(?:https?:)?(?://)?(.*?)(?:\</nowiki\>.*?)?\s*$",


Loading…
Cancel
Save