Skip to content

Commit

Permalink
fix: forgot call on_finish
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed Aug 12, 2022
1 parent 725c452 commit 3e86e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiktok_downloader/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ async def download(
stream.write(i)
if isinstance(out, DownloadCallback):
out.finished = True
await out.on_finish(self.Session, request)
return None if isinstance(
out, (
str,
Expand Down

0 comments on commit 3e86e3f

Please sign in to comment.