Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: unawaited coro

NTFSvolume4be71e6302c9
diff --git a/cyberdrop_dl/database/tables/schema.py b/cyberdrop_dl/database/tables/schema.py
index 2a24b4e48..a5edecd72 100644
--- a/cyberdrop_dl/database/tables/schema.py
+++ b/cyberdrop_dl/database/tables/schema.py
@@ -62,7 +62,7 @@ class SchemaVersionTable:
async def __update_schema_version(self) -> None:
await self.__create_if_not_exists()
query = "INSERT INTO schema_version (version) VALUES (?)"
- _ = self.db_conn.execute(query, (str(CURRENT_APP_SCHEMA_VERSION),))
+ _ = await self.db_conn.execute(query, (str(CURRENT_APP_SCHEMA_VERSION),))
await self.db_conn.commit()
async def create(self) -> None: