fix: add static single pack in PacklistParser

This commit is contained in:
283375 2023-08-31 05:05:33 +08:00
parent 6b8a3e1565
commit 35e6fde664
Signed by: 283375
SSH Key Fingerprint: SHA256:UcX0qg6ZOSDOeieKPGokA5h7soykG61nz2uxuQgVLSk

View File

@ -14,7 +14,9 @@ class PacklistParser(ArcaeaParser):
packlist_json_root = json.loads(pl_f.read())
packlist_json = packlist_json_root["packs"]
results = []
results: List[Union[Pack, PackLocalized]] = [
Pack(id="single", name="Memory Archive")
]
for item in packlist_json:
pack = Pack()
pack.id = item["id"]