Skip to content

Commit

Permalink
Lint the code
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulRaven committed Jun 13, 2024
1 parent 18c04dc commit ab8cd6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def demo_progress_bar():
)
progress.run_progressbar()


demo_progress_bar()

_error = question(
Expand Down
2 changes: 1 addition & 1 deletion src/sgzenity/SGProgresBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab8cd6c

Please sign in to comment.