Skip to content

Commit bb5f240

Browse files
committed
Fix blue
1 parent 7024526 commit bb5f240

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

label_studio/data_manager/functions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,11 @@ def preprocess_field_name(raw_field_name, project) -> Tuple[str, bool]:
395395
real_name_suitable = (
396396
# there is only one object tag in labeling config
397397
# and requested filter name == value from object tag
398-
len(project.data_types.keys()) == 1 and real_name in project.data_types.keys()
398+
len(project.data_types.keys()) == 1
399+
and real_name in project.data_types.keys()
399400
# file was uploaded before labeling config is set, `data.data` is system predefined name
400-
or len(project.data_types.keys()) == 0 and real_name == 'data'
401+
or len(project.data_types.keys()) == 0
402+
and real_name == 'data'
401403
)
402404
if (
403405
real_name_suitable

0 commit comments

Comments
 (0)