From 09c176847d2193336f598d3aae1c3a61fadc9b8e Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Wed, 7 Apr 2021 17:30:46 -0400 Subject: [PATCH] string --- awx/main/models/unified_jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/unified_jobs.py b/awx/main/models/unified_jobs.py index 6b9f28941e..a8d20e1788 100644 --- a/awx/main/models/unified_jobs.py +++ b/awx/main/models/unified_jobs.py @@ -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')