From 4037ed26c4f63ed59ced5c8cac848142b8feb37a Mon Sep 17 00:00:00 2001 From: Zenithal Date: Fri, 20 May 2022 00:25:53 +0800 Subject: [PATCH] anaconda: fix installer trying download .winzip --- anaconda.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anaconda.py b/anaconda.py index a4af587..d8b17f7 100755 --- a/anaconda.py +++ b/anaconda.py @@ -209,6 +209,8 @@ def sync_installer(repo_url, local_dir: Path): continue fname = tds[0].find('a').text md5 = tds[3].text + if md5 == '' or len(md5) != 32: + continue yield (fname, md5) for filename, md5 in remote_list():