removed print

This commit is contained in:
matthias@arch 2022-12-16 01:23:15 +01:00
parent 06e00ea442
commit 56b4fbc13e

View File

@ -175,7 +175,6 @@ def get_os_browser_pairs_from_agent(visitor_agent):
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")
results = cur.fetchall()
ip_range_id_val = 0