diff options
-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() |