Skip to content

Commit d210f4e

Browse files
committed
ConsoleRenderer: When colors=False, set monochrome output for RichTracebackFormatter
1 parent 88744e2 commit d210f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structlog/dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def add_meaningless_arg(arg: str) -> None:
698698
if not colors and exception_formatter is rich_traceback:
699699
cast(
700700
RichTracebackFormatter, exception_formatter
701-
).color_sytem = None
701+
).color_system = None
702702

703703
if repr_native_str is not False:
704704
add_meaningless_arg("repr_native_str")

0 commit comments

Comments
 (0)