Update BackupService to check for temporary zip path instead of password for captioning

This commit is contained in:
PEDZEO
2025-12-27 04:11:08 +03:00
parent 34db5a0d28
commit 6f9dc45e16

View File

@@ -1545,7 +1545,7 @@ class BackupService:
file_to_send = temp_zip_path
caption = f"📦 <b>Резервная копия</b>\n\n"
if password:
if temp_zip_path:
caption += f"🔐 <b>Архив защищён паролем</b>\n\n"
caption += f"⏰ <i>{datetime.now().strftime('%d.%m.%Y %H:%M:%S')}</i>"