fix(aurora): actually fixed duration error
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s

This commit is contained in:
SeaswimmerTheFsh 2023-12-28 04:56:58 -05:00
parent 673e8b41d1
commit e62bd62e29
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
3 changed files with 3 additions and 2 deletions

View file

@ -127,6 +127,7 @@ async def mysql_log(
if duration != "NULL":
end_timedelta = datetime.fromtimestamp(timestamp) + duration
end_timestamp = int(end_timedelta.timestamp())
duration = str(duration)
else:
end_timestamp = 0