aboutsummaryrefslogtreecommitdiff
path: root/app/util/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/util/log.py')
-rw-r--r--app/util/log.py2
1 files changed, 0 insertions, 2 deletions
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,