From 15845d9be0e8248e1836b7f7659de8884f6fd977 Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Sat, 25 Jul 2026 19:36:47 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20BrainKP=20atualiz?= =?UTF-8?q?ado=20em=2025/07/2026=2019:36:47?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 8056cbd..75f3bce 100644 --- a/app.py +++ b/app.py @@ -243,7 +243,7 @@ def cleanup_backups(backup_type): items = list_rclone_contents("gdrive", "Git") items = [i for i in items if "gitea-data" in i.get("Name", "")] else: - items = list_rclone_contents("gdrive", backup_type.capitalize()) + items = list_rclone_contents("gdrive", remote.split(":")[1]) import re def get_group_key(item): @@ -334,7 +334,7 @@ def list_backups(backup_type): items = list_rclone_contents("gdrive", "Git") items = [i for i in items if "gitea-data" in i.get("Name", "")] else: - items = list_rclone_contents("gdrive", backup_type.capitalize()) + items = list_rclone_contents("gdrive", remote.split(":")[1]) # Group repos by owner if backup_type == "repos":