mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-05-01 18:27:25 +00:00
Update BackupService to check for temporary zip path instead of password for captioning
This commit is contained in:
@@ -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>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user