[core] Fix wrong property name for SaveGame

This commit is contained in:
derrod 2021-12-02 16:55:02 +01:00
parent 9511d9d65b
commit 32e9ef1cd3

View file

@ -669,7 +669,7 @@ class LegendaryCore:
if '.manifest' not in fname: if '.manifest' not in fname:
continue continue
f_parts = fname.split('/') f_parts = fname.split('/')
_saves.append(SaveGameFile(app_name=f_parts[2], filename=fname, manifest=f_parts[4], _saves.append(SaveGameFile(app_name=f_parts[2], filename=fname, manifest_name=f_parts[4],
datetime=datetime.fromisoformat(f['lastModified'][:-1]))) datetime=datetime.fromisoformat(f['lastModified'][:-1])))
return _saves return _saves