diff --git a/tobrot/helper_funcs/download_aria_p_n.py b/tobrot/helper_funcs/download_aria_p_n.py index 1370ee34..92f7e5e4 100644 --- a/tobrot/helper_funcs/download_aria_p_n.py +++ b/tobrot/helper_funcs/download_aria_p_n.py @@ -444,11 +444,13 @@ async def check_progress_for_dl(aria2, gid, event, previous_message): previous_message = msg else: msg = file.error_message + await asyncio.sleep(EDIT_SLEEP_TIME_OUT) await event.edit(f"`{msg}`") return False await asyncio.sleep(EDIT_SLEEP_TIME_OUT) await check_progress_for_dl(aria2, gid, event, previous_message) else: + await asyncio.sleep(EDIT_SLEEP_TIME_OUT) await event.edit(f"File Downloaded Successfully: `{file.name}`") return True except Exception as e: