Remove icons-related scripts and data as phobos can dump it successfully

This commit is contained in:
DarkPhoenix
2019-08-20 18:14:55 +03:00
parent 332eb048a1
commit c7f625456e
2 changed files with 0 additions and 10805 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +0,0 @@
"""
A change to EVE Online's cache format rendered Reverence unable to correctly dump the icons file. As a stop gap, this
reads the offical SDE iconIDs.yaml and populates our own icons.json file. This files should then be transferred to the
other JSON files Phobos dumps before being converted to SQL
"""
import yaml
import json
iconDict = {}
stream = open('iconIDs.yaml', 'r')
docs = yaml.load_all(stream, Loader=yaml.SafeLoader)
for doc in docs:
for k,v in list(doc.items()):
iconDict[str(k)] = {'iconFile': v['iconFile']}
with open('icons.json', 'w') as outfile:
json.dump(iconDict, outfile)
print('done')