allow uppercase in canonical names fixes #53
This commit is contained in:
parent
2e056a5865
commit
ceec6b6789
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue