Try / rather than

This commit is contained in:
gingerBill
2024-06-03 23:12:24 +01:00
parent c8f9af64db
commit 17225131f7

View File

@@ -11,7 +11,7 @@ def main():
days_to_keep = int(sys.argv[2])
print(f"Looking for binaries to delete older than {days_to_keep} days")
files_lines = execute_cli(f"b2 ls --long --versions {bucket} nightly").split("\n")
files_lines = execute_cli(f"b2 ls --long --versions {bucket}/nightly").split("\n")
print(files_lines)
for x in files_lines:
parts = [y for y in x.split(' ') if y]