New icons

This commit is contained in:
blitzmann
2018-08-21 20:45:16 -04:00
parent 21b6a2cdfd
commit ccd6d357ed
10 changed files with 4 additions and 1 deletions

View File

@@ -192,7 +192,10 @@ if toadd:
print(('Adding {} icons...'.format(len(toadd))))
missing = set()
for fname in sorted(toadd):
icon = icon_json[str(fname)]
icon = icon_json.get(str(fname), None)
if icon is None:
print("Can't find iconID {}".format(fname))
continue
key = icon['iconFile'].lower()
icon = get_icon_file(key, ICON_SIZE)
if icon is None: