summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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():