From 9d234998c0e4e412155c7f1debf32b562fa59dad Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Tue, 4 Jun 2024 22:44:49 +0200 Subject: [PATCH] Update `create_nightly_json` --- ci/create_nightly_json.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/create_nightly_json.py b/ci/create_nightly_json.py index 03c653040..3a1fcd1ef 100644 --- a/ci/create_nightly_json.py +++ b/ci/create_nightly_json.py @@ -13,7 +13,8 @@ def main(): for x in files_lines: parts = x.split(" ", 1) if parts[0]: - json_str = execute_cli(f"b2 file info {parts[0]}") + print(f"Parts[0]: {parts[0]}", flush=True) + json_str = execute_cli(f"b2 file info b2://{bucket}/{parts[0]}") data = json.loads(json_str) name = remove_prefix(data['fileName'], "nightly/") url = f"https://f001.backblazeb2.com/file/{bucket}/nightly/{urllib.parse.quote_plus(name)}"