From 0277d08706c4c72634df97f29da3a11fb283f8ed Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Thu, 23 Feb 2017 19:06:52 +0100 Subject: [PATCH] Merged #123. Thanks @idalin. I think this solves permanently sending to kindle issues like (#94) --- cps/web.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 69cefe1a..b256ad87 100755 --- a/cps/web.py +++ b/cps/web.py @@ -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()