Skip to content

Commit

Permalink
Applied make fix and disabled debug flag to false
Browse files Browse the repository at this point in the history
  • Loading branch information
smanga24 committed Nov 29, 2024
1 parent 5625bb6 commit 96131d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ APP_ENV=local

# Django
DJANGO_DEBUG=true
ENABLE_DEBUGPY=true
ENABLE_DEBUGPY=false
DJANGO_SECRET_KEY=this_is_an_example_use_a_proper_key_in_production

# Wagtail
Expand Down
6 changes: 4 additions & 2 deletions src/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ def initialize_debugpy():
try:
import debugpy
except ImportError:
sys.stdout.write("debugpy is not installed, please install it with: pip install debugpy\n")
sys.stdout.write(
"debugpy is not installed, please install it with: pip install debugpy\n"
)
return

if not os.getenv("RUN_MAIN"):
Expand Down Expand Up @@ -37,4 +39,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 96131d0

Please sign in to comment.