no implicit {} in replacements
This commit is contained in:
parent
1b7417595e
commit
72bfedbed8
@ -61,7 +61,7 @@ def transform_entry(entry):
|
||||
|
||||
def transform_string(msg):
|
||||
for (old, new) in replacements:
|
||||
msg = msg.replace(old, f"{{{new}}}")
|
||||
msg = msg.replace(old, f"{new}")
|
||||
# strip leading/trailing whitespace
|
||||
return msg.strip()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user