diff --git a/demo.py b/demo.py index 9be8f62..f847665 100644 --- a/demo.py +++ b/demo.py @@ -28,6 +28,7 @@ def demo_progress_bar(): ) progress.run_progressbar() + demo_progress_bar() _error = question( diff --git a/src/sgzenity/SGProgresBar.py b/src/sgzenity/SGProgresBar.py index 6b78210..04d27cb 100644 --- a/src/sgzenity/SGProgresBar.py +++ b/src/sgzenity/SGProgresBar.py @@ -69,7 +69,7 @@ def update_progress(self, progress=None): callback = self.callback() if callable(self.callback) else None if callback >= 1: - time.sleep(.1) + time.sleep(0.1) self._destroy() if self.pulse_mode: