aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Exenifix <[email protected]>2022-12-04 13:19:08 +0300
committerGravatar GitHub <[email protected]>2022-12-04 13:19:08 +0300
commit92a9669ee06ea6341082aaceb6f2d2ad5585d007 (patch)
treef45b37e10e0e59822a795d5a9a2e0bc403501a23 /manage.py
parentUpdate pydis_site/apps/content/resources/guides/python-guides/docker-hosting-... (diff)
parentRename vps_services.md to vps-services.md (#808) (diff)
Merge branch 'python-discord:main' into main
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