mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-04-09 17:40:17 +00:00
fix(external): SonglistDifficultiesParser
file reading
This commit is contained in:
parent
5796d9a80f
commit
4899e0383f
@ -65,8 +65,7 @@ class SonglistDifficultiesParser(ArcaeaParser):
|
||||
self.filepath = filepath
|
||||
|
||||
def parse(self) -> List[Union[Difficulty, DifficultyLocalized]]:
|
||||
with open(self.filepath, "r", encoding="utf-8") as sl_f:
|
||||
songlist_json_root = json.loads(sl_f.read())
|
||||
songlist_json_root = json.loads(self.read_file_text())
|
||||
|
||||
songlist_json = songlist_json_root["songs"]
|
||||
results = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user