Skip to content

Commit 4065e8a

Browse files
authored
Merge pull request #1950 from glensc/no-progressbar-async
Fix: No progressbar launches sync code
2 parents 522d6af + ac53a8c commit 4065e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plextraktsync/plan/Walker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ async def progressbar(self, iterable: AsyncIterable | Iterable, **kwargs):
198198
async for m in it:
199199
yield m
200200
else:
201-
async for m in iterable:
201+
for m in iterable:
202202
yield m
203203

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

0 commit comments

Comments
 (0)