* исправила DATABASE_URL

This commit is contained in:
vasyukova
2026-09-30 23:08:16 +03:00
parent 82766a5337
commit dc5ec786d9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ import psycopg
def _dsn() -> str:
dsn = os.environ.get("DATABASE_URL_FILE")
dsn = os.environ.get("DATABASE_URL")
if not dsn:
raise RuntimeError("DATABASE_URL_FILE is not set")
raise RuntimeError("DATABASE_URL is not set")
return dsn