aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2022-12-29 00:58:15 +0100
committerGravatar GitHub <[email protected]>2022-12-29 00:58:15 +0100
commitab1b5460f4f089283ccd43f9bb19ddcc4e600a3a (patch)
tree609ebd37878fb5ba5532048d40236fa3c4a53736 /manage.py
parentremove useless blank constraint (diff)
parentUpdate help channels guide (#814) (diff)
Merge branch 'main' into 2304-link-previous-nomination-threads
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index 37fb141f..afca6121 100755
--- a/manage.py
+++ b/manage.py
@@ -195,7 +195,7 @@ def main() -> None:
# Pass any others directly to standard management commands
else:
- _static_build = "distill" in sys.argv[1]
+ _static_build = len(sys.argv) > 1 and "distill" in sys.argv[1]
if _static_build:
# Build a static version of the site with no databases and API support