Exemple #1
0
 def update(self, commit=False):
     self.clear()
     ellipsis = "." * self.count
     write(self.string + ellipsis, commit=commit)
     if self.count >= self.max:
         self.zero()
     self.count += 1
Exemple #2
0
 def update(self, inc=True):
     write(self.buildString(), commit=(not self.reachedLimit()))
     if inc:
         self.inc()