From febe7bcac0638a8ece27034335e98db35a377e7a Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 12 Nov 2018 08:22:27 +0100 Subject: [PATCH] remove "path:" from the route --- prolefeeder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prolefeeder.py b/prolefeeder.py index bcddacf..5daded2 100644 --- a/prolefeeder.py +++ b/prolefeeder.py @@ -45,7 +45,7 @@ def download(): return render_template('download.html', form=form) -@app.route('/download_file/') +@app.route('/download_file/') def download_file(filename): return send_from_directory(app.config['DATA_DIR'], filename, as_attachment=True)