src/pyams_security/widget/__init__.py
changeset 7 7920b5e679ec
parent 2 94e76f8e9828
child 33 c422e7f61f19
--- a/src/pyams_security/widget/__init__.py	Sat Feb 28 15:23:57 2015 +0100
+++ b/src/pyams_security/widget/__init__.py	Sat Feb 28 15:25:05 2015 +0100
@@ -92,7 +92,7 @@
         # Principals set widget only returns selected principal IDs in a single input
         if not value:
             return set()
-        return set(value.split(','))
+        return set(value.split('|'))
 
 
 @widgettemplate_config(mode='input', template='templates/principals-set-input.pt', layer=IFormLayer)