Run icon script to remove the clothing icons

This commit is contained in:
blitzmann
2018-06-02 14:10:37 -04:00
parent 59d56fc333
commit e806471b47
659 changed files with 0 additions and 2 deletions

View File

@@ -152,7 +152,6 @@ for fname in os.listdir(icons_dir):
fname = os.path.splitext(fname)[0]
# Get rid of "icon" prefix as well
#fname = re.sub('^icon', '', fname)
print(fname,"exists")
existing.add(fname)
def crop_image(img):
@@ -208,7 +207,6 @@ if toremove:
print('Some icons are not used and will be removed:')
for fname in sorted(toremove):
fullname = '{}.png'.format(fname)
print((' {}'.format(fullname)))
fullpath = os.path.join(icons_dir, fullname)
os.remove(fullpath)