Skip to content

Commit

Permalink
fix edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernstein committed Nov 22, 2024
1 parent b24eecc commit baedd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/label_studio_sdk/label_interface/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def validate_region(self, region) -> bool:
return False

# type of the region should match the tag name
if control.tag.lower() != region["type"]:
if control.tag.lower() != region["type"].lower():
return False

# make sure that in config it connects to the same tag as
Expand Down

0 comments on commit baedd32

Please sign in to comment.