fix
This commit is contained in:
parent
09716e98ba
commit
b570542fab
@ -30,7 +30,7 @@ class CustomizationMatcher(metaclass=Singleton):
|
||||
if not customization:
|
||||
return ""
|
||||
if isinstance(customization, str):
|
||||
customization = customization.replace("\n", ";").strip(";").split(";")
|
||||
customization = customization.replace("\n", ";").replace("|", ";").strip(";").split(";")
|
||||
self.customization = "|".join([f"({item})" for item in customization])
|
||||
|
||||
customization_re = re.compile(r"%s" % self.customization)
|
||||
|
Loading…
x
Reference in New Issue
Block a user