mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-07-04 21:56:26 +00:00
impr(external): ArcaeaParser
file reading
This commit is contained in:
@ -12,8 +12,7 @@ class SonglistParser(ArcaeaParser):
|
||||
def parse(
|
||||
self,
|
||||
) -> List[Union[Song, SongLocalized, 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 = []
|
||||
|
Reference in New Issue
Block a user