changes for #77
Code cosmetics #75: - More debug infos for kindlegen and sending e-mail. - Button for sending test e-mail. - timeout of 5min for sending e-mail
This commit is contained in:
+2
-4
@@ -9,6 +9,8 @@ BookMeta = namedtuple('BookMeta', 'file_path, extension, title, author, cover, d
|
||||
"""
|
||||
:rtype: BookMeta
|
||||
"""
|
||||
|
||||
|
||||
def upload(file):
|
||||
tmp_dir = os.path.join(gettempdir(), 'calibre_web')
|
||||
|
||||
@@ -23,7 +25,3 @@ def upload(file):
|
||||
file.save(tmp_file_path)
|
||||
meta = book_formats.process(tmp_file_path, filename_root, file_extension)
|
||||
return meta
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user