We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88ed6a commit 5c67797Copy full SHA for 5c67797
jupyter_collaboration/handlers.py
@@ -7,7 +7,6 @@
7
import json
8
import time
9
import uuid
10
-from pathlib import Path
11
from typing import Any
12
13
from jupyter_server.auth import authorized
@@ -85,9 +84,7 @@ async def prepare(self):
85
84
)
86
87
file = self._file_loaders[file_id]
88
- path = self._file_id_manager.get_path(file_id)
89
- path = Path(path)
90
- updates_file_path = str(path.parent / f".{file_type}:{path.name}.y")
+ updates_file_path = f".{file_type}:{file_id}.y"
91
ystore = self._ystore_class(path=updates_file_path, log=self.log)
92
self.room = DocumentRoom(
93
self._room_id,
0 commit comments