summaryrefslogtreecommitdiffstats
path: root/wallace/module_invitationpolicy.py
diff options
context:
space:
mode:
Diffstat (limited to 'wallace/module_invitationpolicy.py')
-rw-r--r--wallace/module_invitationpolicy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index 1e94f63..f8c0b8e 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -661,7 +661,7 @@ def get_matching_invitation_policies(receiving_user, sender_email, type_conditio
matches = []
for p in policies:
if ':' in p:
- (value, domain) = p.split(':')
+ (value, domain) = p.split(':', 1)
else:
value = p
domain = ''