From 6d169629e37283f7a4b0fb3add7f5e037be8acc3 Mon Sep 17 00:00:00 2001 From: Lyuba Zehl Date: Thu, 28 Mar 2024 16:37:45 +0100 Subject: [PATCH] Update instance.py --- pipeline/instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/instance.py b/pipeline/instance.py index 8641c4e5..ac985079 100644 --- a/pipeline/instance.py +++ b/pipeline/instance.py @@ -44,7 +44,7 @@ def _build_plurals(self, term: str) -> str: def _replace_multi(self, term:str, old:List[str], new:str) -> str: for letter in old: - term.replace(letter, new) + term = term.replace(letter, new) return term def _build_single_instance_link(self, instanceReference:Dict) -> str: