From 4c1dd74db3f9ac37134db13c8e5a499a9f37594a Mon Sep 17 00:00:00 2001 From: Parker Date: Wed, 6 Nov 2024 01:08:04 -0600 Subject: Lots more functionality - working towards UI --- app/util/log.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/util/log.py') diff --git a/app/util/log.py b/app/util/log.py index b84c8a0..1d21445 100644 --- a/app/util/log.py +++ b/app/util/log.py @@ -60,7 +60,6 @@ def log(link, ip, user_agent): # Get the location and ISP of the user location, isp = ip_to_location(ip) - timestamp = datetime.datetime.now() ua_string = user_agent_parser.Parse(user_agent) browser = ua_string["user_agent"]["family"] os = f'{ua_string["os"]["family"]} {ua_string["os"]["major"]}' @@ -69,7 +68,6 @@ def log(link, ip, user_agent): new_log = Log( owner=owner, link=link, - timestamp=timestamp, ip=ip, location=location, browser=browser, -- cgit v1.2.3-70-g09d2