|
@@ -93,7 +93,7 @@ def upload_file():
|
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
file.save(os.path.join(basedir,app.config["UPLOAD_FOLDER"], filename))
|
|
|
uuid = random.randint(100,10000000)
|
|
|
- extract_all(uuid, filename, 'localhost')
|
|
|
+ extract_all(uuid, filename, db_params)
|
|
|
return redirect(url_for('uploaded_file', filename=filename, uuid=uuid))
|
|
|
return '''
|
|
|
<!doctype html>
|