fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Publishing tags, and fixes.
[wolnelektury.git]
/
src
/
catalogue
/
templatetags
/
catalogue_tags.py
diff --git
a/src/catalogue/templatetags/catalogue_tags.py
b/src/catalogue/templatetags/catalogue_tags.py
index
1d5cee0
..
b45fc50
100644
(file)
--- a/
src/catalogue/templatetags/catalogue_tags.py
+++ b/
src/catalogue/templatetags/catalogue_tags.py
@@
-131,9
+131,9
@@
def nice_title_from_tags(tags, related_tags):
p = []
for sublist in pieces:
for item in sublist[:-2]:
- p.append(item
) + ','
+ p.append(item
+ ',')
for item in sublist[-2:-1]:
- p.append(item
) + ' i'
+ p.append(item
+ ' i')
p.append(sublist[-1])
return ' '.join(p)