Skip to content

Commit e44dd2d

Browse files
committed
lowercase fail :)
1 parent 80fca09 commit e44dd2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

label_studio/projects/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def read_templates_and_groups():
808808
config = read_yaml(config_file)
809809

810810
if settings.VERSION_EDITION != 'Community':
811-
if config.get('group', '').lower() == 'Community Contributions':
811+
if config.get('group', '').lower() == 'community contributions':
812812
continue
813813

814814
if settings.VERSION_EDITION == 'Community':
@@ -824,7 +824,7 @@ def read_templates_and_groups():
824824
groups = f.read().splitlines()
825825

826826
if settings.VERSION_EDITION != 'Community':
827-
groups = [group for group in groups if group.lower() != 'Community Contributions']
827+
groups = [group for group in groups if group.lower() != 'community contributions']
828828

829829
logger.debug(f'{len(configs)} templates found.')
830830
return {'templates': configs, 'groups': groups}

0 commit comments

Comments
 (0)