Fix for 'NoneType' object has no attribute 'author_sort' while trying to read a book (#2733)

This commit is contained in:
Ozzie Isaacs
2023-03-31 07:48:18 +02:00
parent a68a0dd037
commit b9c942befc
2 changed files with 2 additions and 3 deletions

View File

@@ -829,8 +829,6 @@ class CalibreDB:
# Orders all Authors in the list according to authors sort
def order_authors(self, entries, list_return=False, combined=False):
# entries_copy = copy.deepcopy(entries)
# entries_copy =[]
for entry in entries:
if combined:
sort_authors = entry.Books.author_sort.split('&')