mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
8b8f117e70
commit
9a3b3447be
@ -217,12 +217,11 @@ for uid in savehook_new_data:
|
|||||||
savehook_new_data[uid]["private_tgtlang_2"] = oldlanguage[
|
savehook_new_data[uid]["private_tgtlang_2"] = oldlanguage[
|
||||||
savehook_new_data[uid]["private_tgtlang"]
|
savehook_new_data[uid]["private_tgtlang"]
|
||||||
]
|
]
|
||||||
for k in _dfsavehook:
|
for __k, __v in _dfsavehook.items():
|
||||||
if k not in savehook_new_data[uid]:
|
if __k not in savehook_new_data[uid]:
|
||||||
__v = _dfsavehook[k]
|
if isinstance(__v, (list, dict)):
|
||||||
if isinstance(_dfsavehook[k], (list, dict)):
|
|
||||||
__v = __v.copy()
|
__v = __v.copy()
|
||||||
savehook_new_data[uid][k] = __v
|
savehook_new_data[uid][__k] = __v
|
||||||
|
|
||||||
|
|
||||||
class __uid2gamepath:
|
class __uid2gamepath:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user