From c2a82ecf74ae849f5911bfb199caaa4b62538978 Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Sun, 25 Aug 2019 02:33:12 +0800 Subject: [PATCH] Update --- libs/data.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/data.py b/libs/data.py index a8dbcc2..d2b5aa8 100644 --- a/libs/data.py +++ b/libs/data.py @@ -143,5 +143,8 @@ class Yuuki_Data: return Groups[GroupID] def getSEGroup(self, GroupID): - Group = self.getGroup(GroupID) - return Group["SEGroup"] + SEMode = self.getGroup(GroupID)["SEGroup"] + for Mode in SEMode: + if type(Mode == str): + SEMode[int(Mode)] = SEMode[Mode] + return SEMode