Commit 9fc02f67 authored by Ozzieisaacs's avatar Ozzieisaacs

Debug output for lcase

parent 0c40e40d
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment