mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
.
This commit is contained in:
parent
2676f73789
commit
3c509ab564
@ -348,7 +348,7 @@ class AnkiWindow(QWidget):
|
||||
@threader
|
||||
def simulate_key(self, i):
|
||||
try:
|
||||
keystring = globalconfig["ankiconnect"]["simulate_key"][i]["keystring"]
|
||||
keystring = globalconfig["ankiconnect"]["simulate_key"][str(i)]["keystring"]
|
||||
except:
|
||||
return
|
||||
if not keystring:
|
||||
|
Loading…
x
Reference in New Issue
Block a user