fix video
[redakcja.git] / apps / organizations / forms.py
index e7e3250..aa84512 100644 (file)
@@ -7,7 +7,7 @@ from django import forms
 from django.contrib.sites.models import Site
 from django.utils.translation import ugettext as _
 
-from redakcja.utlis import send_notify_email
+from redakcja.utils import send_notify_email
 from .models import Organization, UserCard, countries
 
 
@@ -17,7 +17,7 @@ def clean_projects(projects):
         line = line.strip()
         if line:
             try:
-                url, lang, desc = line.split(None, 2)
+                url, lang, desc = [part.strip(',') for part in line.split(None, 2)]
             except ValueError:
                 raise forms.ValidationError(
                     _('Each line has to consist of an Internet address, language and description, '