diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/templatetags/projecttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py index 667bc38..042d692 100644 --- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py +++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py @@ -75,7 +75,7 @@ def task_color(task_object): """ if not task_object.task_executed: return 'class=muted' - elif task_object.get_outcome_display == 'Failed': + elif task_object.outcome == task_object.OUTCOME_FAILED: return 'class=error' else: return '' |