Skip to content

Commit 271b285

Browse files
committed
do not log to file if progress (#5402)
1 parent 84a9428 commit 271b285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/utils/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def debug(msg: str, dedupe: bool = False, **kwargs):
157157
progress.console.print(msg_, **kwargs)
158158
else:
159159
print(msg_, **kwargs)
160-
if should_use_log_file_console():
160+
if should_use_log_file_console() and kwargs.pop("progress", None) is None:
161161
print_to_log_file(f"[purple]Debug: {msg}[/purple]", **kwargs)
162162

163163

0 commit comments

Comments
 (0)