X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2d3de002b2f70e3dd6ba6b14ebde5864275aa020..3e85e1533d6109be1d5889fb98db7e3e07fedf72:/apps/organizations/forms.py?ds=sidebyside

diff --git a/apps/organizations/forms.py b/apps/organizations/forms.py
index e7e3250d..98efeab0 100644
--- a/apps/organizations/forms.py
+++ b/apps/organizations/forms.py
@@ -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, '