🚀 Auto-deploy: BrainKP atualizado em 25/07/2026 19:36:47
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user