Skip to content

Commit 9c9906e

Browse files
- [Tool] update prompt of tool
1 parent 4741824 commit 9c9906e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tkui/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@ def load(self):
38703870
with myfile.open('icon') as myfi:
38713871
self.icon = myfi.read()
38723872
try:
3873-
self.pyt = PhotoImage(data=self.icon)
3873+
self.pyt = PhotoImage(open_img(BytesIO(self.icon)).resize((128, 128)))
38743874
except Exception:
38753875
logging.exception('Bugs')
38763876
self.pyt = PhotoImage(data=images.none_byte)

0 commit comments

Comments
 (0)