From 85cacd6997f43d52d29ffcd01462e260fa12abcd Mon Sep 17 00:00:00 2001 From: Leozhanggg <278869269@qq.com> Date: Tue, 31 Aug 2021 12:40:11 +0800 Subject: [PATCH] Support multiple parameters --- comm/unit/replaceRelevance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comm/unit/replaceRelevance.py b/comm/unit/replaceRelevance.py index c93947e..746749d 100644 --- a/comm/unit/replaceRelevance.py +++ b/comm/unit/replaceRelevance.py @@ -74,7 +74,6 @@ def replace_relevance(param, relevance=None): else: if isinstance(relevance[each], list): value = relevance[each][0] - each = each.replace('[', '\[').replace(']', '\]') else: value = relevance[each]