do not convert /o\ into /O\

This commit is contained in:
Marcos Dione
2017-02-06 17:27:16 +01:00
committed by GitHub
parent af4052b020
commit 593734b770
+1 -1
View File
@@ -87,5 +87,5 @@ codes = LookupDict(name='status_codes')
for code, titles in _codes.items():
for title in titles:
setattr(codes, title, code)
if not title.startswith('\\'):
if not title.startswith('\\') and not title.strartswith('/'):
setattr(codes, title.upper(), code)