3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-11 15:50:56 +00:00

work around pypy bug

ref: https://github.com/pypy/pypy/issues/3183
This commit is contained in:
Robin Ole Heinemann 2025-05-14 15:39:16 +02:00 committed by Catherine
parent ab2003d90f
commit b47d2829f9

View file

@ -68,8 +68,8 @@ class SbyStatusDb:
self.db = sqlite3.connect(path, isolation_level=None, timeout=timeout)
self.db.row_factory = sqlite3.Row
self.db.execute("PRAGMA journal_mode=WAL")
self.db.execute("PRAGMA synchronous=0")
self.db.execute("PRAGMA journal_mode=WAL").fetchone()
self.db.execute("PRAGMA synchronous=0").fetchone()
if setup:
self._setup()