fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update translation
[redakcja.git]
/
apps
/
organizations
/
models.py
diff --git
a/apps/organizations/models.py
b/apps/organizations/models.py
index
c236da4
..
8e04ddb
100644
(file)
--- a/
apps/organizations/models.py
+++ b/
apps/organizations/models.py
@@
-71,7
+71,7
@@
class Card(models.Model):
def get_projects(self):
for project_line in self.projects.strip().split('\n'):
- parts = project_line.strip().split(
' '
, 2)
+ parts = project_line.strip().split(
None
, 2)
if not parts or not parts[0]:
continue
url, lang, desc = (parts + [''] * 2)[:3]