Skip to content

Commit 3c0485f

Browse files
committed
cleanup
1 parent d657c1a commit 3c0485f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/storage/src/simcore_service_storage/modules/db/file_meta_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _list_filter_with_partial_file_id_stmt(
9696
)
9797
else:
9898
project_ids = user_or_project_filter.project_ids
99-
if project_ids:
99+
if len(project_ids) > 0:
100100
conditions.append(
101101
file_meta_data.c.project_id.in_(f"{_}" for _ in project_ids)
102102
)

0 commit comments

Comments
 (0)