From c32a711338dc57e98db2a33280e0331bf5dfaca3 Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Sun, 25 Aug 2019 02:38:38 +0800 Subject: [PATCH] Update --- libs/data.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/data.py b/libs/data.py index 78f1f29..3b1f9a7 100644 --- a/libs/data.py +++ b/libs/data.py @@ -144,8 +144,7 @@ class Yuuki_Data: def getSEGroup(self, GroupID): SEMode = self.getGroup(GroupID)["SEGroup"] - SEMode_ = self.getGroup(GroupID)["SEGroup"] + SEMode_ = {} for Mode in SEMode: - if type(Mode == str): - SEMode_[int(Mode)] = SEMode[Mode] + SEMode_[int(Mode)] = SEMode[Mode] return SEMode_