X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0d2ad838d03a600b034f6355a1d43f74debd62eb..79d770e03bde9d600ec6effdcc9c15487ff23897:/src/api/management/commands/mobileinit.py diff --git a/src/api/management/commands/mobileinit.py b/src/api/management/commands/mobileinit.py index b89fede9f..ccbff3e21 100755 --- 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() db.execute(book_sql, locals())