Skip to content

Commit

Permalink
Fix: debug: false on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Aug 31, 2024
1 parent bedbb98 commit 5fcca27
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ endif
include $(PYTHON_MAKELIB_PATH)/venv-lint-test-webapi.mk


# Run in debug mode
YHTTP_DEBUG = true
export YHTTP_DEBUG
YHTTP_FLAGS = \
-Odebug=True \
-Cexamples


serve:
$(PREFIX)/bin/yhttp-markdown -Cexamples serve
$(PREFIX)/bin/yhttp-markdown $(YHTTP_FLAGS) serve
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@

## later
- readme
- debug: true on deploy
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


dependencies = [
'yhttp >= 6.1.2, < 7',
'yhttp >= 6.2, < 7',
'pymlconf',
'easycli',
'markdown2',
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def yserver(yapp):
def ymdapp():
from yhttp.markdown.server import app

app.settings.merge('debug: true')
yield app
app.shutdown()

Expand Down

0 comments on commit 5fcca27

Please sign in to comment.