Skip to content

Commit 3fa907e

Browse files
davidbrochartandrii-i
authored andcommitted
Handle last_modified only in FileLoader (jupyterlab#232)
1 parent 47305e4 commit 3fa907e

File tree

1 file changed

+1
-1
lines changed
  • projects/jupyter-server-ydoc/jupyter_server_ydoc

1 file changed

+1
-1
lines changed

projects/jupyter-server-ydoc/jupyter_server_ydoc/loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def maybe_notify(self) -> None:
223223
filepath_change = True
224224

225225
# Get model metadata; format and type are not need
226-
model = await ensure_async(self._contents_manager.get(path, content=False))
226+
model = await ensure_async(self._contents_manager.get(self.path, content=False))
227227

228228
if self.last_modified is not None and self.last_modified < model["last_modified"]:
229229
do_notify = True

0 commit comments

Comments
 (0)