1 parent bffe94a commit 2e38eacCopy full SHA for 2e38eac
1 file changed
main/AutoSubSync.pyw
@@ -408,8 +408,6 @@ REMOVED_ITEM = texts.REMOVED_ITEM[LANGUAGE]
408
FILES_MUST_CONTAIN_PATTERNS = texts.FILES_MUST_CONTAIN_PATTERNS[LANGUAGE]
409
NO_VALID_SUBTITLE_FILES = texts.NO_VALID_SUBTITLE_FILES[LANGUAGE]
410
default_encoding = sys.getfilesystemencoding()
411
-# Icon fix
412
-
413
def update_config(key, value):
414
if remember_the_changes or key == 'remember_the_changes':
415
try:
@@ -4269,8 +4267,8 @@ try:
4269
4267
if os.path.exists('icon.ico'):
4270
4268
root.iconbitmap('icon.ico')
4271
else: # Linux or macOS
4272
- if os.path.exists('icon.png'):
4273
- icon = PhotoImage(file='icon.png')
+ if os.path.exists('icon.ico'):
+ icon = PhotoImage(file='icon.ico')
4274
root.iconphoto(True, icon)
4275
except Exception as e:
4276
pass
0 commit comments