diff --git a/pym/cl_profile.py b/pym/cl_profile.py index 9332e0b..fbc5e37 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -5191,7 +5191,7 @@ class xmlDocPlasma: # Добавляем область if nodesNewArea: newAreaAction = self.getActionArea(xmlNewArea) - if not (newAreaAction == "drop" or newAreaAction == "replace"): + if not (newAreaAction == "drop"): appendArea(baseNode, xmlNewArea) return True if not nodesNames or not nodesNewArea: @@ -5257,8 +5257,7 @@ class xmlDocPlasma: if not flagFindArea: # Добавляем область - if not (newAreaAction == "drop" or\ - newAreaAction == "replace"): + if not (newAreaAction == "drop"): appendArea(baseNode, xmlNewArea) else: tmpXmlNewAreas = xpath.Evaluate('child::area',xmlNewArea)