From ab8cd6c17f62e0ec846221f8bb4e71ca98daa325 Mon Sep 17 00:00:00 2001 From: Zaharia Constantin <1303303+soulraven@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:38:12 +0300 Subject: [PATCH] Lint the code --- demo.py | 1 + src/sgzenity/SGProgresBar.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: