Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
dfc5447
1
Parent(s):
29f93c7
Update google_db.py
Browse files- google_db.py +12 -12
google_db.py
CHANGED
@@ -17,18 +17,18 @@ def save_db():
|
|
17 |
err = 0
|
18 |
|
19 |
if api_variabl == request.args.get('api'):
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
data = f"action=addData&
|
32 |
|
33 |
# Запускаем асинхронный запрос в отдельном потоке
|
34 |
loop = asyncio.new_event_loop()
|
|
|
17 |
err = 0
|
18 |
|
19 |
if api_variabl == request.args.get('api'):
|
20 |
+
names = globsname
|
21 |
+
emails = globs.email
|
22 |
+
phones = globs.phone
|
23 |
+
pr1s = globs.pr1
|
24 |
+
pr2s = globs.pr2
|
25 |
+
pr3s = globs.pr3
|
26 |
+
pr4s = globs.pr4
|
27 |
+
pr5s = globs.pr5
|
28 |
+
pr6s = globs.pr6
|
29 |
+
|
30 |
+
|
31 |
+
data = f"action=addData&names={names}&emails={emails}&phones={phones}&pr1s={pr1s}&pr2s={pr2s}&pr3s={pr3s}"
|
32 |
|
33 |
# Запускаем асинхронный запрос в отдельном потоке
|
34 |
loop = asyncio.new_event_loop()
|