Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
57c78cf
1
Parent(s):
08aecc7
Update google_db.py
Browse files- google_db.py +2 -0
google_db.py
CHANGED
@@ -7,6 +7,8 @@ import aiohttp
|
|
7 |
api_variabl = os.getenv('api_key')
|
8 |
google_url = os.getenv('goo_url')
|
9 |
|
|
|
|
|
10 |
async def async_save_db(data):
|
11 |
async with aiohttp.ClientSession() as session:
|
12 |
async with session.post(google_url, data=data, headers={'Content-Type': 'application/x-www-form-urlencoded'}) as response:
|
|
|
7 |
api_variabl = os.getenv('api_key')
|
8 |
google_url = os.getenv('goo_url')
|
9 |
|
10 |
+
err = 0
|
11 |
+
|
12 |
async def async_save_db(data):
|
13 |
async with aiohttp.ClientSession() as session:
|
14 |
async with session.post(google_url, data=data, headers={'Content-Type': 'application/x-www-form-urlencoded'}) as response:
|