removed print
This commit is contained in:
parent
06e00ea442
commit
56b4fbc13e
@ -175,7 +175,6 @@ def get_os_browser_pairs_from_agent(visitor_agent):
|
|||||||
|
|
||||||
|
|
||||||
def get_ip_range_id(cur: sql.Cursor, ip_address: int):
|
def get_ip_range_id(cur: sql.Cursor, ip_address: int):
|
||||||
print(f"SELECT {ip_range_id.name} FROM {t_ip_range} WHERE lower <= '{ip_address}' AND to >= '{ip_address}'")
|
|
||||||
cur.execute(f"SELECT {ip_range_id.name} FROM {t_ip_range} WHERE '{ip_address}' BETWEEN lower AND upper")
|
cur.execute(f"SELECT {ip_range_id.name} FROM {t_ip_range} WHERE '{ip_address}' BETWEEN lower AND upper")
|
||||||
results = cur.fetchall()
|
results = cur.fetchall()
|
||||||
ip_range_id_val = 0
|
ip_range_id_val = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user