mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
d0d002ee45
commit
979ce5cf03
@ -468,13 +468,12 @@ for key in ___:
|
||||
globalconfig["toolbutton"]["rank2"].remove(key)
|
||||
|
||||
if "DeckName" in globalconfig["ankiconnect"]:
|
||||
deckname = globalconfig["ankiconnect"].pop("DeckName")
|
||||
if (
|
||||
globalconfig["ankiconnect"]["DeckName"]
|
||||
not in globalconfig["ankiconnect"]["DeckNameS"]
|
||||
):
|
||||
globalconfig["ankiconnect"]["DeckNameS"].append(
|
||||
globalconfig["ankiconnect"].pop("DeckName")
|
||||
)
|
||||
globalconfig["ankiconnect"]["DeckNameS"].append(deckname)
|
||||
|
||||
for data in savehook_new_data.values():
|
||||
deck = data.get("anki_DeckName", "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user