Spaces:
test-sj-crm
/
Runtime error

DmitrMakeev commited on
Commit
7216a40
1 Parent(s): e90fdaa

Update google_db.py

Browse files
Files changed (1) hide show
  1. google_db.py +10 -1
google_db.py CHANGED
@@ -28,12 +28,21 @@ def save_db():
28
  tA_db = globs.tA
29
  hDm_db = globs.hDm
30
  sVen_db = globs.sVen
 
 
 
 
 
 
 
 
 
31
 
32
  ec_A_eep_db = globs.ec_A_eep
33
  ec_B_eep_db = globs.ec_B_eep
34
  ec_C_eep_db = globs.ec_C_eep
35
 
36
- data = f"action=addData&dey={dey_db}&wek={wek_db}&time={time_db}&ph={ph_db}&ec={ec_db}&tS={tS_db}&tA={tA_db}&hDm={hDm_db}&sVen={sVen_db}&ec_A_eep={ec_A_eep_db}&ec_B_eep={ec_B_eep_db}&ec_C_eep={ec_C_eep_db}"
37
 
38
  # Запускаем асинхронный запрос в отдельном потоке
39
  loop = asyncio.new_event_loop()
 
28
  tA_db = globs.tA
29
  hDm_db = globs.hDm
30
  sVen_db = globs.sVen
31
+
32
+
33
+ l_ON_h = globs.l_ON_h_eep
34
+ l_ON_m = globs.l_ON_m_eep
35
+ l_OFF_h = globs.l_OFF_h_eep
36
+ l_OFF_m = globs.l_OFF_m_eep
37
+
38
+ l_ON = f"{l_ON_h}:{l_ON_m}"
39
+ l_OFF = f"{l_OFF_h}:{l_OFF_m}"
40
 
41
  ec_A_eep_db = globs.ec_A_eep
42
  ec_B_eep_db = globs.ec_B_eep
43
  ec_C_eep_db = globs.ec_C_eep
44
 
45
+ data = f"action=addData&dey={dey_db}&wek={wek_db}&time={time_db}&ph={ph_db}&ec={ec_db}&tS={tS_db}&tA={tA_db}&hDm={hDm_db}&sVen={sVen_db}&l_ON={l_ON}&l_OFF={l_OFF}&ec_A_eep={ec_A_eep_db}&ec_B_eep={ec_B_eep_db}&ec_C_eep={ec_C_eep_db}"
46
 
47
  # Запускаем асинхронный запрос в отдельном потоке
48
  loop = asyncio.new_event_loop()