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 @threader
def simulate_key(self, i): def simulate_key(self, i):
try: try:
keystring = globalconfig["ankiconnect"]["simulate_key"][i]["keystring"] keystring = globalconfig["ankiconnect"]["simulate_key"][str(i)]["keystring"]
except: except:
return return
if not keystring: if not keystring: