File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
services/storage/src/simcore_service_storage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ async def _get_fmd(
124124async 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
You can’t perform that action at this time.
0 commit comments