diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-10-22 16:55:11 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-10-22 16:55:11 +0200 |
commit | 52c48f15214d3c2c1b228052d6ce60a04e86e4e0 (patch) | |
tree | b6c237af84c188a12b4c4828c7b78b6f5d5881a9 /meetingtools | |
parent | bbb6962f43bf5d020fbc1ae41fbee2f0c9aff199 (diff) |
Remove semicolon part from domains.
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/apps/content/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meetingtools/apps/content/models.py b/meetingtools/apps/content/models.py index a37e5fd..8c7f2fc 100644 --- a/meetingtools/apps/content/models.py +++ b/meetingtools/apps/content/models.py @@ -61,7 +61,7 @@ class Content(models.Model): if not owner: owner = get_owner_by_folder(api, acc, sco_element) try: - domain = owner['login'].split('@')[1] + domain = owner['login'].split('@')[1].split(';')[0] user, created = User.objects.get_or_create(username=owner['login']) if created: user.set_unusable_password() |