Skip to content

Commit ced4a13

Browse files
committed
Merge branch 'release/3.51.3'
2 parents ecfa610 + 7188aa3 commit ced4a13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

progressbar/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
long 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'

progressbar/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

216216
class StreamWrapper(object):

0 commit comments

Comments
 (0)