From 7c121658fea1724512ebcf50c38400ae83736181 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sun, 23 Mar 2025 02:39:24 +0700 Subject: [PATCH] Fix product name matching --- Scripts/gathering_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/gathering_files.py b/Scripts/gathering_files.py index 48935f1..6df078b 100644 --- a/Scripts/gathering_files.py +++ b/Scripts/gathering_files.py @@ -320,7 +320,7 @@ class gatheringFiles: latest_release = self.github.get_latest_release("lzhoang2801", "Hardware-Sniffer") or {} for product in latest_release.get("assets"): - if product.get("product_name") == product_name: + if product.get("product_name") == product_name.split(".")[0]: _, product_id, product_download_url = product.values() product_history_index = self.get_product_index(download_history, product_name)