Skip to content

Commit 76d70e0

Browse files
fix mypy
1 parent 998ff14 commit 76d70e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/projects/_project_document_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def remove_project_documents_as_admin(app: web.Application) -> None:
113113
# Get known opened projects ids based on Redis resources table
114114
registry = get_registry(app)
115115
known_opened_project_ids = await list_opened_project_ids(registry)
116-
known_opened_project_ids = set(known_opened_project_ids)
116+
known_opened_project_ids_set = set(known_opened_project_ids)
117117

118118
projects_removed = 0
119119

@@ -133,7 +133,7 @@ async def remove_project_documents_as_admin(app: web.Application) -> None:
133133
project_room = SocketIORoomStr.from_project_id(project_uuid)
134134

135135
# 1. CHECK - Check if the project UUID is in the known opened projects
136-
if project_uuid in known_opened_project_ids:
136+
if project_uuid in known_opened_project_ids_set:
137137
_logger.debug(
138138
"Project %s is in Redis Resources table (which means Project is opened), keeping document",
139139
project_uuid,

0 commit comments

Comments
 (0)