small fix
This commit is contained in:
@@ -49,7 +49,7 @@ async def backup_database():
|
||||
"-name",
|
||||
"*.sql",
|
||||
"-mtime",
|
||||
"+7",
|
||||
"+3",
|
||||
"-exec",
|
||||
"rm",
|
||||
"{}",
|
||||
|
||||
@@ -103,7 +103,7 @@ async def handle_backup(message: Message):
|
||||
)
|
||||
|
||||
|
||||
@router.callback_query(F.data == "restart_bot", IsAdminFilter)
|
||||
@router.callback_query(F.data == "restart_bot", IsAdminFilter())
|
||||
async def handle_restart(callback_query: CallbackQuery):
|
||||
try:
|
||||
subprocess.run(
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user