From 4dd066e973a7058bb081fe699af4b8243a7e5c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=91=E8=B4=A8?= Date: Mon, 25 Dec 2023 10:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ESVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/releaseDeck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/releaseDeck.py b/script/releaseDeck.py index 5298a6e..725e0b2 100644 --- a/script/releaseDeck.py +++ b/script/releaseDeck.py @@ -123,7 +123,7 @@ def formatUTF8WithBOM(data:bytes): info_this_new.update(info_this) index_data[deck_type].append(info_this_new) index_data[deck_type].sort(key=lambda x: x['name']) - dictCount[deck_type] = count_this + dictCount[deck_type] += count_this os.makedirs('../target/deck/', exist_ok=True) with open('../target/deck/index.json', 'w', encoding='utf-8') as f: f.write(json.dumps(index_data, indent=4, ensure_ascii=False))