Skip to content

Commit a75ab4e

Browse files
committed
Removed unnecessary check
1 parent 5eedcf3 commit a75ab4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zenml/logging/step_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def wrapped_write(*args: Any, **kwargs: Any) -> Any:
551551

552552
if step_context and args[0] not in ["\n", ""]:
553553
# For progress bar updates (with \r), inject the step name after the \r
554-
if isinstance(message, str) and "\r" in message:
554+
if "\r" in message:
555555
message = message.replace(
556556
"\r", f"\r[{step_context.step_name}] "
557557
)

0 commit comments

Comments
 (0)