DmitrMakeev
commited on
Commit
•
f2e150a
1
Parent(s):
66bf693
Update app.py
Browse files
app.py
CHANGED
@@ -1142,6 +1142,16 @@ def se_mes_f_gc():
|
|
1142 |
|
1143 |
|
1144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1145 |
@app.route('/upload_csv', methods=['POST'])
|
1146 |
def upload_csv():
|
1147 |
if 'file' not in request.files:
|
|
|
1142 |
|
1143 |
|
1144 |
|
1145 |
+
|
1146 |
+
|
1147 |
+
|
1148 |
+
@app.route('/upl_csv', methods=['GET'])
|
1149 |
+
def se_upl_csv():
|
1150 |
+
api_sys_control = request.args.get('api_sys')
|
1151 |
+
if api_sys_control != api_key_sys:
|
1152 |
+
return "EUR 22", 200
|
1153 |
+
return render_template('upl_csv.html')
|
1154 |
+
|
1155 |
@app.route('/upload_csv', methods=['POST'])
|
1156 |
def upload_csv():
|
1157 |
if 'file' not in request.files:
|