Skip to content

Fix error when invoking manage.py with no arguments#798

Merged
HassanAbouelela merged 2 commits into
mainfrom
fix-manage-py-no-args
Nov 19, 2022
Merged

Fix error when invoking manage.py with no arguments#798
HassanAbouelela merged 2 commits into
mainfrom
fix-manage-py-no-args

Conversation

@wookie184
Copy link
Copy Markdown
Contributor

Previously when running python manage.py:

Traceback (most recent call last):
  File "C:\Users\wookie184\Documents\GitHub\site\manage.py", line 217, in <module>
    main()
  File "C:\Users\wookie184\Documents\GitHub\site\manage.py", line 198, in main
    _static_build = "distill" in sys.argv[1]
IndexError: list index out of range

Now displays the help command instead

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 19, 2022

Deploy Preview for pydis-static ready!

Name Link
🔨 Latest commit 42a8e91
🔍 Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/637902115f08450008ded5a2
😎 Deploy Preview https://deploy-preview-798--pydis-static.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 19, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling 42a8e91 on fix-manage-py-no-args into 0e6b708 on main.

Copy link
Copy Markdown
Contributor

@shtlrs shtlrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! :D

@HassanAbouelela HassanAbouelela merged commit 42feef2 into main Nov 19, 2022
@HassanAbouelela HassanAbouelela deleted the fix-manage-py-no-args branch November 19, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants