Skip to content

Commit

Permalink
Await cursor.execute()
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Apr 9, 2024
1 parent fe74f2d commit 8b07d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/yjs/fps_yjs/ywebsocket/ystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ async def read(self) -> AsyncIterator[tuple[bytes, bytes, float]]: # type: igno
try:
async with self.lock:
cursor = await self._db.cursor()
cursor.execute(
await cursor.execute(
"SELECT yupdate, metadata, timestamp FROM yupdates WHERE path = ?",
(self.path,),
)
Expand Down

0 comments on commit 8b07d9b

Please sign in to comment.