mirror of
https://github.com/evennia/evennia.git
synced 2026-04-17 21:59:06 +02:00
Minor fix in renamer indexing
This commit is contained in:
parent
4f8d70118e
commit
a2403e1d73
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ def _case_sensitive_replace(string, old, new):
|
||||||
result = []
|
result = []
|
||||||
all_upper = True
|
all_upper = True
|
||||||
for ind, chr in enumerate(old_word):
|
for ind, chr in enumerate(old_word):
|
||||||
if ind >= len(new):
|
if ind >= len(new_word):
|
||||||
break
|
break
|
||||||
if chr.isupper():
|
if chr.isupper():
|
||||||
result.append(new_word[ind].upper())
|
result.append(new_word[ind].upper())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue