mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-19 17:47:39 +00:00
Debug output for lcase
This commit is contained in:
@@ -785,4 +785,7 @@ def get_download_link(book_id, book_format):
|
||||
############### Database Helper functions
|
||||
|
||||
def lcase(s):
|
||||
return unidecode.unidecode(s.lower()) if use_unidecode else s.lower()
|
||||
try:
|
||||
return unidecode.unidecode(s.lower())
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
|
Reference in New Issue
Block a user