mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
Minor fix in renamer indexing
This commit is contained in:
parent
4f8d70118e
commit
a2403e1d73
@ -90,7 +90,7 @@ def _case_sensitive_replace(string, old, new):
|
||||
result = []
|
||||
all_upper = True
|
||||
for ind, chr in enumerate(old_word):
|
||||
if ind >= len(new):
|
||||
if ind >= len(new_word):
|
||||
break
|
||||
if chr.isupper():
|
||||
result.append(new_word[ind].upper())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user