From e9a7493343c01fce6ed691d769fbe555bd0a07c9 Mon Sep 17 00:00:00 2001 From: osmarks Date: Thu, 25 Jan 2024 00:01:02 +0000 Subject: [PATCH] stop requiring internal aiosqlite patch --- mse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mse.py b/mse.py index d1b673d..68b68a9 100644 --- a/mse.py +++ b/mse.py @@ -83,7 +83,7 @@ class Index: async with self.lock: with ProcessPoolExecutor(max_workers=12) as executor: print("Indexing") - conn = await aiosqlite.connect(CONFIG["db_path"], parent_loop=asyncio.get_running_loop()) + conn = await aiosqlite.connect(CONFIG["db_path"]) conn.row_factory = aiosqlite.Row await conn.executescript(""" CREATE TABLE IF NOT EXISTS files ( @@ -223,4 +223,4 @@ if __name__ == "__main__": loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) loop.run_until_complete(main()) - loop.run_forever() \ No newline at end of file + loop.run_forever()