Changeset 1087d7e in rattail


Ignore:
Timestamp:
03/06/19 20:51:56 (6 months ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
2cb67eb
Parents:
16757ae
Message:

Fix progress bar error, as of progress==1.5 package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/progress.py

    r16757ae r1087d7e  
    6565        self.bar = Bar(None, max=maximum, width=70,
    6666                       suffix='%(index)d/%(max)d %(percent)d%% ETA %(eta)ds')
     67        # not sure why, but this is necessary as of progress==1.5
     68        if self.bar.message is None:
     69            self.bar.message = ''
    6770
    6871    def update(self, value):
Note: See TracChangeset for help on using the changeset viewer.