summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHrishi Hiraskar2016-10-27 20:18:01 +0530
committerHrishi Hiraskar2016-10-27 20:18:01 +0530
commitfa360b4b12b3238995a40470d2aded0fa9875bb5 (patch)
tree7caa7b626c8653c02cd40cf51b726a3368a8ee97
parent8f3ebb78da8bf9d549d7156e6073179a744fb651 (diff)
downloadxcos-on-web-fa360b4b12b3238995a40470d2aded0fa9875bb5.tar.gz
xcos-on-web-fa360b4b12b3238995a40470d2aded0fa9875bb5.tar.bz2
xcos-on-web-fa360b4b12b3238995a40470d2aded0fa9875bb5.zip
Integrated SendLog python server
-rwxr-xr-xsrc/main/SendLog.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/SendLog.py b/src/main/SendLog.py
index ea501e9..9aaf138 100755
--- a/src/main/SendLog.py
+++ b/src/main/SendLog.py
@@ -174,10 +174,6 @@ def event_stream(xcos_file_id):
# Notify Client
yield "event: DONE\ndata: None\n\n"
-# For a given file, return whether it's an allowed type or not
-def allowed_file(filename):
- return '.' in filename and filename.rsplit('.', 1)[1] in app.config['ALLOWED_EXTENSIONS']
-
# Route that will process the file upload
@app.route('/upload', methods=['POST'])
def upload():