From 217ca32cecbb30e00980578eb4027493cb998118 Mon Sep 17 00:00:00 2001
From: Guido Draheim <guidod@gmx.de>
Date: Wed, 21 Oct 2020 23:42:42 +0200
Subject: [PATCH] need to adapt downloads to /raw/

---
 test/zziptests.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/zziptests.py b/test/zziptests.py
index 8cdf8e4..d7284a2 100644
--- a/test/zziptests.py
+++ b/test/zziptests.py
@@ -146,7 +146,10 @@ def download(base_url, filename, into = None, style = ""):
     if not os.path.exists(subfile):
        logg.info("need %s", subfile)
        try:
-           urlretrieve(base_url + "/" + filename + style, subfile)
+           url = base_url + "/" + filename + style
+           url = url.replace("/blob/", "/raw/")
+           logg.info("curl %s", url)
+           urlretrieve(url, subfile)
        except:
            # Ensure zero-length file exists in case we couldn't
            # download the file so that we won't try to
-- 
2.40.0