Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
12a6081
1
Parent(s):
a1a3ecc
Update app.py
Browse files
app.py
CHANGED
@@ -90,8 +90,8 @@ def set_pH_value():
|
|
90 |
return "pH value set successfully"
|
91 |
|
92 |
@app.route('/EC_set')
|
93 |
-
def
|
94 |
-
|
95 |
globs.ec_set = ec_value
|
96 |
globs.eep_set = 2
|
97 |
return "EC value set successfully"
|
|
|
90 |
return "pH value set successfully"
|
91 |
|
92 |
@app.route('/EC_set')
|
93 |
+
def set_EC_value():
|
94 |
+
ec_value = request.args.get('value')
|
95 |
globs.ec_set = ec_value
|
96 |
globs.eep_set = 2
|
97 |
return "EC value set successfully"
|