Commit 5ab4154d authored by Eric Coissac's avatar Eric Coissac

Supress the intermediate progression logging if the log is done on a tty

parent be2c5ba6
......@@ -129,11 +129,11 @@ cdef class ProgressBar:
tenth = int(percent * 10)
if tenth != self.lastlog:
if tenth != self.lastlog and not self.ontty:
if self.ontty:
# if self.ontty:
# <void>fputs(b'\n',stderr)'%s %5.1f %% remain : %02d:%02d:%02d' % (
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment