Skip to content

Commit 344d1ab

Browse files
committed
Fix formatted string for python 3.11
1 parent b2692ab commit 344d1ab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
/venv
99
/__pycache__
1010
/mc3ds-tm.ini
11-
/uvs_test
11+
/uvs_test
12+
/src

py3dstViewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def openPath(self, filePath):
200200
self.portviewFrame.configure(image=portviewImg)
201201

202202
self.sizeValue.set(f"{preview.size[0]} x {preview.size[1]}")
203-
self.formatValue.set(f"{texture._getFormatInfo(texture.header.format)["name"].upper()}")
203+
self.formatValue.set(f"{texture._getFormatInfo(texture.header.format)['name'].upper()}")
204204
self.mipLevelValue.set(f"{texture.header.mip_level}")
205205

206206
self.imgName = path.name

0 commit comments

Comments
 (0)