From 68e3867af34be66cdd15c83fc83f42401c6d3eba Mon Sep 17 00:00:00 2001 From: Ruben Herold Date: Thu, 10 Aug 2017 12:29:08 +0200 Subject: [PATCH] fix books with uppercase extension --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index ad548226..9aaa0795 100755 --- a/cps/web.py +++ b/cps/web.py @@ -2933,7 +2933,7 @@ def upload(): author_dir = helper.get_valid_filename(author, False) data_name = title_dir filepath = config.config_calibre_dir + os.sep + author_dir + os.sep + title_dir - saved_filename = filepath + os.sep + data_name + meta.extension + saved_filename = filepath + os.sep + data_name + meta.extension.lower() if not os.path.exists(filepath): try: