We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd3b82 commit 46f3c5fCopy full SHA for 46f3c5f
module/.gitignore
services/uploader.py
@@ -1,6 +1,2 @@
1
-import os
2
-from flask import Flask, request, redirect, url_for
3
-from werkzeug.utils import secure_filename
4
-
5
UPLOAD_FOLDER = '/path/to/the/uploads'
6
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
0 commit comments