This commit is contained in:
Seth Foster 2021-04-07 17:30:46 -04:00
parent 8c73a51730
commit 09c176847d
No known key found for this signature in database
GPG Key ID: 86E90D96F7184028

View File

@ -851,7 +851,7 @@ class UnifiedJob(
# out the time that elapsed, do so.
if self.started and self.finished and self.elapsed == 0.0:
td = self.finished - self.started
self.elapsed = (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10 ** 6) / (10 ** 6 * 1.0)
self.elapsed = str((td.microseconds + (td.seconds + td.days * 24 * 3600) * 10 ** 6) / (10 ** 6 * 1.0))
if 'elapsed' not in update_fields:
update_fields.append('elapsed')

Internal Server Error - Kootenay's git system
500 Internal Server Error

Gitea Version: 1.23.5