mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
979ce5cf03
commit
461ddefe13
@ -469,10 +469,7 @@ for key in ___:
|
|||||||
|
|
||||||
if "DeckName" in globalconfig["ankiconnect"]:
|
if "DeckName" in globalconfig["ankiconnect"]:
|
||||||
deckname = globalconfig["ankiconnect"].pop("DeckName")
|
deckname = globalconfig["ankiconnect"].pop("DeckName")
|
||||||
if (
|
if deckname not in globalconfig["ankiconnect"]["DeckNameS"]:
|
||||||
globalconfig["ankiconnect"]["DeckName"]
|
|
||||||
not in globalconfig["ankiconnect"]["DeckNameS"]
|
|
||||||
):
|
|
||||||
globalconfig["ankiconnect"]["DeckNameS"].append(deckname)
|
globalconfig["ankiconnect"]["DeckNameS"].append(deckname)
|
||||||
|
|
||||||
for data in savehook_new_data.values():
|
for data in savehook_new_data.values():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user