X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/90e4a87f6ebffca42088cb952281c40555d2c520..ddf91891d57294b4fbf52ac5fb55b4f0e71e8781:/src/api/management/commands/mobileinit.py?ds=sidebyside

diff --git a/src/api/management/commands/mobileinit.py b/src/api/management/commands/mobileinit.py
index ed4d624f9..ccf27bc76 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(),
     })