This commit is contained in:
恍兮惚兮 2024-08-12 00:56:39 +08:00
parent 2676f73789
commit 3c509ab564

View File

@ -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: