Skip to content

Commit f854fd9

Browse files
authored
fix: redirect stdout to stderr
For consistency
1 parent 0b4820d commit f854fd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"""
66

77
import os
8+
import sys
89
import pkgutil
910
import asyncio
1011
import importlib
@@ -18,6 +19,9 @@
1819
from addons.no_cache import NoCache
1920
from addons.debug import Debug
2021

22+
# Redirect stdout
23+
sys.stdout = sys.stderr
24+
2125
# Hot Reloading
2226
for task in asyncio.all_tasks():
2327
if task.get_name() == 'watch_changes':

0 commit comments

Comments
 (0)