Skip to content

Commit 301149f

Browse files
committed
End TextProgressBar with newline (#3414)
So that the progress bar diagnostic doesn't interfere with other print statements or logging by the user.
1 parent 1da5199 commit 301149f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

distributed/diagnostics/progressbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _draw_bar(self, remaining, all, **kwargs):
141141
sys.stdout.flush()
142142

143143
def _draw_stop(self, **kwargs):
144-
sys.stdout.write("\r")
144+
sys.stdout.write("\n")
145145
sys.stdout.flush()
146146

147147

0 commit comments

Comments
 (0)