fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blog api
[wolnelektury.git]
/
src
/
api
/
management
/
commands
/
mobileinit.py
diff --git
a/src/api/management/commands/mobileinit.py
b/src/api/management/commands/mobileinit.py
index
ed4d624
..
ccf27bc
100755
(executable)
--- a/
src/api/management/commands/mobileinit.py
+++ b/
src/api/management/commands/mobileinit.py
@@
-147,7
+147,7
@@
def add_book(db, book):
'parent_number': book.parent_number,
'sort_key': book.sort_key,
'size_str': pretty_size(html_file_size),
- 'authors':
", ".join(t.name for t in book.tags.filter(category='author')
),
+ 'authors':
book.author_unicode(
),
})