Skip to content

Commit 12a0b56

Browse files
committed
fix: Fix the ratio task bug
1 parent fe95d18 commit 12a0b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/datamate-python/app/module/ratio/service/ratio_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _filter_file(file: DatasetFiles, conditions: FilterCondition) -> bool:
294294
for tag in all_tags:
295295
if conditions.label.label and tag.get("label") != conditions.label.label:
296296
continue
297-
if conditions.label.value is not None:
297+
if conditions.label.value is None:
298298
return True
299299
if tag.get("value") == conditions.label.value:
300300
return True

0 commit comments

Comments
 (0)