diff --git a/modules/custdl.py b/modules/custdl.py index 6381fdd..096769f 100644 --- a/modules/custdl.py +++ b/modules/custdl.py @@ -188,6 +188,7 @@ async def download_x(e): ) await proc.communicate() + await proc.wait() await ms.edit(f"Downloaded {out_filename} in {time.time() - t:.2f} seconds.", buttons=[Button.inline("Back", data=f"episode_{series_id}_{season_index}_{episode_index}_{category}_{season_index}_{episode_index}")])