Skip to content

Commit

Permalink
fix caption
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 6, 2025
1 parent 5cfcb5d commit 3f56f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/mirror_leech_utils/telegram_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"<code>{file_}</code>"
if len(file_) > 60:
if is_archive(file_):
Expand Down

0 comments on commit 3f56f7c

Please sign in to comment.