Skip to content

Commit

Permalink
fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
catgirlinspace committed Nov 28, 2023
1 parent 1658c7e commit 70f9477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splashcat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 70f9477

Please sign in to comment.