Update delete_old_binaries.py

This commit is contained in:
Jeroen van Rijn
2024-06-04 22:26:51 +02:00
parent a0b1b8d1c3
commit c2ddf4266f

View File

@@ -21,8 +21,8 @@ def main():
delta = now - date
if delta.days > days_to_keep:
print(f'Deleting {parts[5]}')
execute_cli(f'b2 rm {parts[0]}')
print(f'Deleting b2://{bucket}/{parts[5]}')
execute_cli(f'b2 rm b2://{bucket}/{parts[5]}')
def execute_cli(command):