Skip to content

Commit 8b7713b

Browse files
committed
3.33hotfix2
1 parent 5ed23df commit 8b7713b

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

REAPERSCRIPT.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ subs_cleaner = False
1717
add_track_for_subs = False
1818

1919
[SUBS]
20-
subs_lang = Russыыыыыia
20+
subs_lang = Russadsia
2121

ReaperScript.exe

35 Bytes
Binary file not shown.

ReaperScript.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,12 @@ def on_fix_check_click(master: tkinter.Tk, BUTTONS: List):
286286
state='readonly',
287287
width=13,
288288
)
289-
if config['SUBS']['subs_lang'] in SUBS_LANGS_LIST:
290-
menu.set(config['SUBS']['subs_lang'])
291-
else:
289+
try:
290+
if config['SUBS']['subs_lang'] in SUBS_LANGS_LIST:
291+
menu.set(config['SUBS']['subs_lang'])
292+
else:
293+
menu.set(SUBS_LANGS_LIST[0])
294+
except KeyError:
292295
menu.set(SUBS_LANGS_LIST[0])
293296
menu.place(relx=0.5, rely=1.0, anchor="s", x=9, y=-424)
294297
ToolTip(menu, HELP_DICT['subs_lang'], 1)

0 commit comments

Comments
 (0)