Fix INF-375 get default mask strip failed
[pti/o2.git] / o2common / views / route.py
index e740333..9776458 100644 (file)
@@ -232,5 +232,5 @@ class o2_marshal_with(marshal_with):
             for s in selector_all:
                 selector[s] = val
             return
-        default_selector = str(mask).strip(' ()')
+        default_selector = str(mask).strip(' {}')
         self.__update_selector_value(selector, default_selector, val)