Skip to content

Commit

Permalink
Merge pull request #1433 from dmach/NoPBTextMeter-no-output
Browse files Browse the repository at this point in the history
Change NoPBTextMeter to display no output at all
  • Loading branch information
dmach authored Oct 13, 2023
2 parents 2aa7c17 + 0d239cc commit 0c2cafe
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions osc/meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,8 @@ def end(self):


class NoPBTextMeter:
_complained = False

def start(self, basename, size=None):
if not self._complained:
print('Please install the progressbar module')
NoPBTextMeter._complained = True
print('Processing: %s' % basename)
pass

def update(self, *args, **kwargs):
pass
Expand Down

0 comments on commit 0c2cafe

Please sign in to comment.