Light Beacon il y a 2 ans
Parent
commit
42da5bbd5d
1 fichiers modifiés avec 0 ajouts et 9 suppressions
  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)