瀏覽代碼

remove tool

Light Beacon 2 年之前
父節點
當前提交
42da5bbd5d
共有 1 個文件被更改,包括 0 次插入 和 9 次删除
  1. 0 9
      Tools/LinkGet.py

+ 0 - 9
Tools/LinkGet.py

@@ -1,9 +0,0 @@
-import json
-def trans(froms,key,dest):
-    mapping = {}
-    for file in froms:
-        with open(file,'r',encoding='utf-8') as f:
-            for item in json.load(f)['cards']:
-                mapping.update({item['name']:item[key]})
-    with open(dest,'w',encoding='utf-8') as f:            
-        json.dump(mapping,f,ensure_ascii=False)