Skip to content

Commit 21cf5a5

Browse files
fix typo
1 parent 11c45fb commit 21cf5a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/storage/src/simcore_service_storage/simcore_s3_dsm_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ async def _get_fmd(
124124
async def find_enclosing_file(
125125
conn: SAConnection, user_id: UserID, file_id: SimcoreS3FileID
126126
) -> FileMetaDataAtDB | None:
127-
kwnon_files = {
127+
known_files = {
128128
Path(known_file.file_id): known_file
129129
for known_file in await db_file_meta_data.list_fmds(conn, user_id=user_id)
130130
}
131131
current_path = Path(file_id)
132132
while current_path and current_path != Path(current_path).parent:
133-
if current_path in kwnon_files:
134-
return kwnon_files.get(current_path)
133+
if current_path in known_files:
134+
return known_files.get(current_path)
135135

136136
current_path = Path(current_path).parent
137137

0 commit comments

Comments
 (0)