From b8e9edd94fcd1f2630915b888993ee39e8f4e53b Mon Sep 17 00:00:00 2001 From: christian Date: Thu, 4 Aug 2016 16:54:26 +0200 Subject: Fix so BD subfolders are served --- wqflask/wqflask/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 7d3caea4..55efd7e4 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -106,10 +106,10 @@ def tmp_page(img_path): img_base64 = bytesarray ) -@app.route("/dalliance/") -def bd_files(file_path): +@app.route("/dalliance/") +def bd_files(filename): bd_path = app.config['BIODALLIANCE_PATH'] - return send_from_directory(bd_path, file_path) + return send_from_directory(bd_path, filename) #@app.route("/data_sharing") -- cgit v1.2.3