Skip to content

Commit 5095f47

Browse files
committed
Fix system status check
1 parent 9efeed5 commit 5095f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/superannotate/lib/core/usecases/images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def __init__(
749749
if response.error:
750750
raise AppException(response.error)
751751
workflow = response.data[0]
752-
if workflow.is_system:
752+
if workflow.is_system():
753753
annotation_status_value = (
754754
self._service_provider.get_annotation_status_value(
755755
self._project, "NotStarted"
@@ -1112,7 +1112,7 @@ def execute(self):
11121112
if response.error:
11131113
raise AppException(response.error)
11141114
workflow = response.data[0]
1115-
if workflow.is_system:
1115+
if workflow.is_system():
11161116
self._annotation_status_value = (
11171117
self._service_provider.get_annotation_status_value(
11181118
self._project, "NotStarted"

0 commit comments

Comments
 (0)