aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-01-27 22:22:06 +0200
committerGravatar mbaruh <[email protected]>2023-01-27 22:57:51 +0200
commit963d9368b8e07d8aab04662f27bf47087f5b574c (patch)
tree72ea3b5e60babe27b169b8816a4d39853d180742 /manage.py
parentUpdate tests (diff)
parentMerge pull request #860 from python-discord/official-tutorial-resource (diff)
Merge branch 'main' into new-filter-schema
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