Skip to content

Commit 73f62f3

Browse files
Vaghinak BasentsyanVaghinak Basentsyan
authored andcommitted
Fix _annotation_status validation
1 parent 27f9f3b commit 73f62f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/usecases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4302,7 +4302,7 @@ def exclude_file_patterns(self):
43024302
return self._exclude_file_patterns
43034303

43044304
def validate_annotation_status(self):
4305-
if self._annotation_status and self._annotation_status not in constances.AnnotationStatus.values():
4305+
if self._annotation_status and self._annotation_status.lower() not in constances.AnnotationStatus.values():
43064306
raise AppValidationException("Invalid annotations status")
43074307

43084308
def validate_extensions(self):

0 commit comments

Comments
 (0)