Debug output for lcase
This commit is contained in:
parent
0c40e40dc3
commit
9fc02f67c2
|
@ -785,4 +785,7 @@ def get_download_link(book_id, book_format):
|
||||||
############### Database Helper functions
|
############### Database Helper functions
|
||||||
|
|
||||||
def lcase(s):
|
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user