- added best rated section in normal view

- added most downloaded section in opds view
- imporved fb2 upload, correct handling of missing elements
- author sort is set on editing and uploading files
- Encoding stuff on uploading files
This commit is contained in:
OzzieIsaacs
2017-02-04 14:28:18 +01:00
parent ee91fc03ef
commit 241c4cef8f
10 changed files with 116 additions and 2512 deletions
+2 -2
View File
@@ -59,8 +59,8 @@ def get_epub_info(tmp_file_path, original_file_name, original_file_extension):
return uploader.BookMeta(
file_path=tmp_file_path,
extension=original_file_extension,
title=title,
author=epub_metadata['creator'],
title=title.encode('utf-8').decode('utf-8'),
author=epub_metadata['creator'].encode('utf-8').decode('utf-8'),
cover=coverfile,
description=epub_metadata['description'],
tags="",