mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01: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 = []
|
||||
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…
Add table
Add a link
Reference in a new issue