Fix bug in script and add missing icons

This commit is contained in:
DarkPhoenix
2015-07-07 16:09:13 +03:00
parent 16d1891e16
commit 091832af21
6 changed files with 2 additions and 2 deletions

View File

@@ -91,9 +91,9 @@ if toupdate:
if toadd:
print('Adding {} renders...'.format(len(toadd)))
missing = toupdate.difference(export)
missing = toadd.difference(export)
toadd.intersection_update(export)
for type_id in sorted(toupdate):
for type_id in sorted(toadd):
render = get_render(type_id)
fname = '{}.png'.format(type_id)
fullpath = os.path.join(icons_dir, fname)