mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
norm
This commit is contained in:
parent
eab0a5d08f
commit
57b14d8040
@ -146,11 +146,14 @@ class common:
|
||||
developers = data.get("developers", [])
|
||||
webtags = data.get("webtags", [])
|
||||
imagepath_all = data.get("imagepath_all", [])
|
||||
|
||||
normaled = [
|
||||
os.path.normpath(os.path.abspath(_))
|
||||
for _ in savehook_new_data[gameuid]["imagepath_all"]
|
||||
]
|
||||
for _ in imagepath_all:
|
||||
if _ is None:
|
||||
continue
|
||||
if _ not in savehook_new_data[gameuid]["imagepath_all"]:
|
||||
if os.path.normpath(os.path.abspath(_)) not in normaled:
|
||||
savehook_new_data[gameuid]["imagepath_all"].append(_)
|
||||
if title:
|
||||
if not savehook_new_data[gameuid]["istitlesetted"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user