Skip to content

Commit

Permalink
Merge pull request #1950 from glensc/no-progressbar-async
Browse files Browse the repository at this point in the history
Fix: No progressbar launches sync code
  • Loading branch information
glensc authored May 16, 2024
2 parents 522d6af + ac53a8c commit 4065e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/plan/Walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async def progressbar(self, iterable: AsyncIterable | Iterable, **kwargs):
async for m in it:
yield m
else:
async for m in iterable:
for m in iterable:
yield m

async def media_from_traktlist(self, items: TraktWatchList, title="Trakt watchlist") -> Generator[Media, Any, None]:
Expand Down

0 comments on commit 4065e8a

Please sign in to comment.