Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 25, 2022
1 parent 1a9bc0e commit 4e2fb97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jupyter_server_ydoc/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ def get_room(self, path: str) -> YRoom:
file_format, file_type, file_path = path.split(":", 2)
p = Path(file_path)
updates_file_path = str(p.parent / f".{file_type}:{p.name}.y")
ystore = self.ystore_class(
path=updates_file_path, log=self.log
)
ystore = self.ystore_class(path=updates_file_path, log=self.log)
self.rooms[path] = DocumentRoom(file_type, ystore, self.log)
else:
# it is a transient document (e.g. awareness)
Expand Down

0 comments on commit 4e2fb97

Please sign in to comment.