diff options
author | 2022-11-19 20:21:19 +0400 | |
---|---|---|
committer | 2022-11-19 20:21:19 +0400 | |
commit | 42feef287da48dc28b4e8c482394dc0c69438494 (patch) | |
tree | 0cf84c325ebd52df51f08855d45e1daa1de020fc | |
parent | Merge pull request #797 from python-discord/dependabot/pip/sentry-sdk-1.11.0 (diff) | |
parent | Merge branch 'main' into fix-manage-py-no-args (diff) |
Merge pull request #798 from python-discord/fix-manage-py-no-args
Fix error when invoking manage.py with no arguments
-rwxr-xr-x | manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |