File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919long running operations.
2020''' .strip ().split ())
2121__email__ = 'wolph@wol.ph'
22- __version__ = '3.51.2 '
22+ __version__ = '3.51.3 '
2323__license__ = 'BSD'
2424__copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
2525__url__ = 'https://github.com/WoLpH/python-progressbar'
Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ def write(self, value):
201201 self .target .write (value )
202202
203203 def flush (self ):
204- self .needs_clear = False
205204 self .buffer .flush ()
206205
207206 def _flush (self ):
@@ -211,6 +210,7 @@ def _flush(self):
211210 self .target .write (value )
212211 self .buffer .seek (0 )
213212 self .buffer .truncate (0 )
213+ self .needs_clear = False
214214
215215
216216class StreamWrapper (object ):
You can’t perform that action at this time.
0 commit comments