mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
set _initialized to True on _initialize call
This commit is contained in:
parent
0e4eb39c6c
commit
d012f54a1f
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ class Terminal:
|
|||
it's terminal object. Colorized output is not used if import of python
|
||||
module or terminal object creation fails.
|
||||
"""
|
||||
# Mark that Terminal's initialization was already triggered
|
||||
Terminal._initialized = True
|
||||
|
||||
from . import env_value_to_bool
|
||||
use_colors = env_value_to_bool(
|
||||
"PYPE_LOG_NO_COLORS", default=Terminal.use_colors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue