DmitrMakeev commited on
Commit
bf70379
1 Parent(s): 18d4c31

Update google_db.py

Browse files
Files changed (1) hide show
  1. google_db.py +2 -21
google_db.py CHANGED
@@ -1,26 +1,11 @@
1
  from flask import request, jsonify
2
  import globs
3
  import os
4
- import requests
5
- api_variabl = os.getenv('api_key')
6
- google_url = os.getenv('goo_url')
7
-
8
- from flask import jsonify
9
- import requests
10
-
11
-
12
  import asyncio
13
  import aiohttp
14
 
15
-
16
-
17
- from flask import jsonify
18
- import requests
19
-
20
-
21
-
22
-
23
-
24
 
25
  async def async_save_db(data):
26
  async with aiohttp.ClientSession() as session:
@@ -31,10 +16,6 @@ async def async_save_db(data):
31
  else:
32
  return False
33
 
34
-
35
-
36
-
37
-
38
  def save_db():
39
  err = 0
40
 
 
1
  from flask import request, jsonify
2
  import globs
3
  import os
 
 
 
 
 
 
 
 
4
  import asyncio
5
  import aiohttp
6
 
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:
 
16
  else:
17
  return False
18
 
 
 
 
 
19
  def save_db():
20
  err = 0
21