allow uppercase in canonical names fixes #53

This commit is contained in:
Matthew Scragg 2015-07-15 09:34:36 -05:00
parent 2e056a5865
commit ceec6b6789
1 changed files with 0 additions and 1 deletions

View File

@ -94,7 +94,6 @@ def to_canonical(s):
s = re.sub(r"\-\-+", "-", s)
s = re.sub(r"[^a-zA-Z0-9\-]", "", s)
s = s[:64]
s = s.lower()
return s