Skip to content

Commit 74a280c

Browse files
author
Alan Christie
committed
fix: Fix JobRequest has-finished check
1 parent 94aaa23 commit 74a280c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viewer/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,7 @@ def get(self, request):
21342134
):
21352135
continue
21362136
# An opportunity to update JobRequest timestamps?
2137-
if not jr.job_has_finished():
2137+
if not jr.job_finish_datetime:
21382138
logger.info(
21392139
'+ JobRequestView.get (id=%s) has not finished (job_status=%s)',
21402140
jr.id,

0 commit comments

Comments
 (0)