diff --git a/cps/web.py b/cps/web.py index 72478fe0..f51cbc5c 100755 --- a/cps/web.py +++ b/cps/web.py @@ -2988,7 +2988,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: