Skip to content

Commit

Permalink
Always create iterable object
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 6, 2024
1 parent 1bfc856 commit 4d2a84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/rich/RichProgressBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class RichProgressBar:
def __init__(self, iterable, total, options=None, desc=""):
self.iter = iterable
self.iter = iter(iterable)
self.options = options or {}
self.desc = desc
self.total = total
Expand Down

0 comments on commit 4d2a84f

Please sign in to comment.