DmitrMakeev commited on
Commit
8ca7b26
1 Parent(s): fa87349

Update google_db.py

Browse files
Files changed (1) hide show
  1. google_db.py +2 -4
google_db.py CHANGED
@@ -4,10 +4,8 @@ async def async_save_db(data):
4
  async with aiohttp.ClientSession() as session:
5
  async with session.post(google_url, data=data, headers={'Content-Type': 'application/x-www-form-urlencoded'}) as response:
6
  # Просто проверяем статус код, не ожидая тела ответа
7
- if response.status == 200:
8
- return True
9
- else:
10
- return False
11
 
12
  def save_db():
13
  err = 0
 
4
  async with aiohttp.ClientSession() as session:
5
  async with session.post(google_url, data=data, headers={'Content-Type': 'application/x-www-form-urlencoded'}) as response:
6
  # Просто проверяем статус код, не ожидая тела ответа
7
+ return True
8
+
 
 
9
 
10
  def save_db():
11
  err = 0