🚀 Auto-deploy: BrainKP atualizado em 25/07/2026 19:36:47

This commit is contained in:
2026-07-25 19:36:47 +00:00
parent 2046f85d6b
commit 15845d9be0
+2 -2
View File
@@ -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":