Thanks @idalin.
I think this solves permanently sending to kindle issues like (#94)
This commit is contained in:
OzzieIsaacs 2017-02-23 19:06:52 +01:00
parent c98617a1cb
commit 0277d08706

View File

@ -2136,7 +2136,6 @@ def upload():
db.session.connection().connection.connection.create_function("title_sort", 1, db.title_sort)
db.session.connection().connection.connection.create_function('uuid4', 0, lambda: str(uuid4()))
if request.method == 'POST' and 'btn-upload' in request.files:
file = request.files['btn-upload']
file = request.files['btn-upload']
if '.' in file.filename:
file_ext = file.filename.rsplit('.', 1)[-1].lower()