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 May 2, 2024
1 parent 8a225c3 commit 549f8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycrdt_websocket/ystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ async def read(self) -> AsyncIterator[tuple[bytes, bytes, float]]:
Returns:
A tuple of (update, metadata, timestamp) for each update.
"""
if self.db_initialized is None:
if self.db_initialized is None:
raise RuntimeError("ystore is not started")
await self.db_initialized.wait()
try:
Expand All @@ -438,7 +438,7 @@ async def write(self, data: bytes) -> None:
Arguments:
data: The update to store.
"""
if self.db_initialized is None:
if self.db_initialized is None:
raise RuntimeError("ystore is not started")
await self.db_initialized.wait()
async with self.lock:
Expand Down

0 comments on commit 549f8e6

Please sign in to comment.