forked from mirrors/thatmattlove-hyperglass
fix log messaging output
This commit is contained in:
parent
fedd0b4196
commit
ba045b6f8e
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ def init_logger(level: t.Union[int, str] = logging.INFO):
|
|||
# Reset built-in Loguru configurations.
|
||||
_loguru_logger.remove()
|
||||
|
||||
if not sys.stdout.isatty():
|
||||
if sys.stdout.isatty():
|
||||
# Use Rich for logging if hyperglass started from a TTY.
|
||||
|
||||
_loguru_logger.add(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue