remove api delay
This commit is contained in:
1 parent
1d2b8159c9
commit
abe5a88a67
1 file changed
+1
-1
@@ -65,7 +65,7 @@ def geo(db, ip):
|
|||||||
"INSERT OR REPLACE INTO ip_geo VALUES (?, ?, ?, ?)",
|
"INSERT OR REPLACE INTO ip_geo VALUES (?, ?, ?, ?)",
|
||||||
(ip, *data)
|
(ip, *data)
|
||||||
)
|
)
|
||||||
time.sleep(0.5)
|
# time.sleep(0.5)
|
||||||
print(f"Get location for {ip} to {data[0]}")
|
print(f"Get location for {ip} to {data[0]}")
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user