diff --git a/ypy_websocket/stores/file_store.py b/ypy_websocket/stores/file_store.py index 89452a0..165a9f2 100644 --- a/ypy_websocket/stores/file_store.py +++ b/ypy_websocket/stores/file_store.py @@ -102,7 +102,7 @@ async def list(self) -> AsyncIterator[str]: # type: ignore[override] await self._initialized.wait() async for child in anyio.Path(self._store_path).glob("**/*.y"): - yield str(child.relative_to(self._store_path).with_suffix("")) + yield child.relative_to(self._store_path).with_suffix("").as_posix() async def get(self, path: str, updates: bool = False) -> dict | None: """