From 70f947758ded2f762ec3eb6d363d0c8feebdee2b Mon Sep 17 00:00:00 2001 From: kitt Date: Tue, 28 Nov 2023 15:39:21 -0500 Subject: [PATCH] fix settings --- splashcat/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splashcat/settings.py b/splashcat/settings.py index afc04a56..6639647d 100644 --- a/splashcat/settings.py +++ b/splashcat/settings.py @@ -148,7 +148,7 @@ 'NAME': BASE_DIR / 'db.sqlite3', } } -elif len(sys.argv) > 0 and sys.argv[1] != 'collectstatic': +elif len(sys.argv) > 1 and sys.argv[1] != 'collectstatic': database_connection_details = dj_database_url.parse(database_url, conn_max_age=None, conn_health_checks=False) if FLY_REGION != FLY_PRIMARY_REGION: