From 90436999f42c9d16dacedbaac8a173054904d268 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 23 Jan 2025 14:56:15 -0600 Subject: [PATCH] update zipline script for zipline v4 --- scripts/py/zipline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/py/zipline.py b/scripts/py/zipline.py index 55f7cae..d60a6d0 100755 --- a/scripts/py/zipline.py +++ b/scripts/py/zipline.py @@ -39,7 +39,8 @@ def zipline( if response.status_code == 200: response_data = response.json() - link = response_data.get("files", [None])[0] + # remove '["url"]' to have compatibility with zipline v3 + link = response_data.get("files", [None])[0]["url"] if link: try: