scripts: gen_config.py: disable stdout output buffering
Python3 line buffers stdout which makes script output confusing so lets disable it. Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
736bfa9af4
commit
17a03e5b82
@ -3,10 +3,12 @@
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
from shutil import rmtree
|
||||
import io
|
||||
import sys
|
||||
from subprocess import run
|
||||
from os import getenv
|
||||
|
||||
sys.stdout = io.TextIOWrapper(open(sys.stdout.fileno(), "wb", 0), write_through=True)
|
||||
profile_folder = Path(getenv("PROFILES", "./profiles"))
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user