From ac53ecb15182face19e21ce5b55e9dfcb775f5db Mon Sep 17 00:00:00 2001 From: Hrishi Hiraskar Date: Thu, 27 Oct 2016 20:20:18 +0530 Subject: Integrated SendLog python server --- src/main/SendLog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/SendLog.py b/src/main/SendLog.py index 9aaf138..315ef0c 100755 --- a/src/main/SendLog.py +++ b/src/main/SendLog.py @@ -177,9 +177,9 @@ def event_stream(xcos_file_id): # Route that will process the file upload @app.route('/upload', methods=['POST']) def upload(): - # Get the name of the uploaded file + # Get the file file = request.files['file'] - # Check if the file is one of the allowed types/extensions + # Check if the file is not null if file: # Make the filename safe, remove unsupported chars client_id = len(xcos_file_list) -- cgit