Fix icons script and add missing renders

This commit is contained in:
DarkPhoenix
2024-06-12 16:03:09 +02:00
parent f5d8be7861
commit 56bc5c3376
19 changed files with 2 additions and 0 deletions

View File

@@ -145,6 +145,8 @@ def get_icon_file(res_path, size):
icon for it. Return as PIL image object down-
scaled for use in pyfa.
"""
res_path = res_path.lower()
res_path = res_path.replace('\\', '/')
res_path = res_path.replace('//', '/') #1703
if res_path not in res_index:
return None