Fixed Crash in Optimize_Textures

This commit is contained in:
Killergnom
2024-10-26 22:19:54 +02:00
parent d5c73e845a
commit 12da9be4b3
10 changed files with 118 additions and 118 deletions

View File

@@ -21,7 +21,7 @@ for i in range(1,len(inputTexs),1):
currentTex = Image.open(inputTexs[i])
if currentTex.size <= (2048,2048):
print (currentTex + "is already smaller than 2048x2048")
print (f"{os.path.basename(inputTexs[i])} is already smaller than 2048x2048")
continue