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

View file

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