Skip to content

Commit

Permalink
Merge branch 'release/v3.37.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Apr 12, 2018
2 parents 36b510b + 75be317 commit 3987ba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion progressbar/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
long running operations.
'''.strip().split())
__email__ = 'wolph@wol.ph'
__version__ = '3.37.0'
__version__ = '3.37.1'
__license__ = 'BSD'
__copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
__url__ = 'https://github.com/WoLpH/python-progressbar'
6 changes: 3 additions & 3 deletions progressbar/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def update(self, *args, **kwargs):
self.fd.write(line)

def finish(self, *args, **kwargs): # pragma: no cover
end = kwargs.pop('end', '\n')
ProgressBarMixinBase.finish(self, *args, **kwargs)

if self._finished:
return

end = kwargs.pop('end', '\n')
ProgressBarMixinBase.finish(self, *args, **kwargs)

if end:
self.fd.write(end)

Expand Down

0 comments on commit 3987ba1

Please sign in to comment.