1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-30 05:35:14 +00:00

Fixes for book edit with title sort and author sort

This commit is contained in:
Ozzie Isaacs
2021-04-03 14:21:38 +02:00
parent 91b9370a21
commit 665210e506
7 changed files with 88 additions and 68 deletions

View File

@@ -63,7 +63,7 @@ def get_language_codes(locale, language_names, remainder=None):
if v in language_names:
lang.append(k)
language_names.remove(v)
if remainder is not None:
if remainder is not None and language_names:
remainder.extend(language_names)
return lang