This commit is contained in:
恍兮惚兮 2024-08-11 03:29:18 +08:00
parent 979ce5cf03
commit 461ddefe13

View File

@ -469,10 +469,7 @@ for key in ___:
if "DeckName" in globalconfig["ankiconnect"]:
deckname = globalconfig["ankiconnect"].pop("DeckName")
if (
globalconfig["ankiconnect"]["DeckName"]
not in globalconfig["ankiconnect"]["DeckNameS"]
):
if deckname not in globalconfig["ankiconnect"]["DeckNameS"]:
globalconfig["ankiconnect"]["DeckNameS"].append(deckname)
for data in savehook_new_data.values():