diff --git a/bot/helper/mirror_leech_utils/telegram_uploader.py b/bot/helper/mirror_leech_utils/telegram_uploader.py index 8c8ba3a93..52b37f6f2 100644 --- a/bot/helper/mirror_leech_utils/telegram_uploader.py +++ b/bot/helper/mirror_leech_utils/telegram_uploader.py @@ -170,7 +170,7 @@ async def _prepare_file(self, file_, dirpath, delete_file): new_path = ospath.join(dirpath, f"{self._lprefix} {file_}") await rename(self._up_path, new_path) self._up_path = new_path - else: + if not self._lcaption and not self._lprefix: cap_mono = f"{file_}" if len(file_) > 60: if is_archive(file_):