location-selection/major_update_notifications/gifts and more fixes

This commit is contained in:
Vladless
2025-01-21 22:35:56 +03:00
parent eb666ca3a4
commit a8f3187e84
+1 -1
View File
@@ -46,7 +46,7 @@ async def add_blocked_user(tg_id: int, conn: asyncpg.Connection):
async def init_db(file_path: str = "assets/schema.sql"):
with open(file_path) as file:
with open(file_path, mode="r") as file:
sql_content = file.read()
statements = [stmt.strip() for stmt in sql_content.split(";") if stmt.strip()]