Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
a882654
1
Parent(s):
e4b41da
Update api_logic.py
Browse files- api_logic.py +2 -2
api_logic.py
CHANGED
@@ -3,7 +3,7 @@ import globs
|
|
3 |
import os
|
4 |
api_variable = os.getenv('api')
|
5 |
|
6 |
-
|
7 |
|
8 |
def api():
|
9 |
err = 0
|
@@ -57,7 +57,7 @@ def api():
|
|
57 |
# Создаем JSON-объект
|
58 |
response = {
|
59 |
"ph_set": globs.ph_set,
|
60 |
-
"eep_set":
|
61 |
"err": err
|
62 |
}
|
63 |
|
|
|
3 |
import os
|
4 |
api_variable = os.getenv('api')
|
5 |
|
6 |
+
globs.eep_set = 0
|
7 |
|
8 |
def api():
|
9 |
err = 0
|
|
|
57 |
# Создаем JSON-объект
|
58 |
response = {
|
59 |
"ph_set": globs.ph_set,
|
60 |
+
"eep_set": globs.eep_set,
|
61 |
"err": err
|
62 |
}
|
63 |
|