#55 Fix disabling progress bar
Merged 3 years ago by asaleh. Opened 3 years ago by nphilipp.
nphilipp/mirrors-countme main--silence-psshht  into  main

file modified
+1 -1
@@ -162,7 +162,7 @@ 

  

      def set_description(self, desc=None, refresh=True):

          self.desc = desc

-         if refresh:

+         if refresh and not self.disable:

              self.display()

  

      def update(self, n=1):

Build succeeded.

Took me a bit to see where disabled is defined, but LGTM in the end.

Pull-Request has been merged by asaleh

3 years ago
Metadata