mirror of
https://github.com/hyper-neptune/yuuki.git
synced 2024-12-26 23:00:50 +08:00
Update yuuki.py
This commit is contained in:
parent
1c1fa3b096
commit
c0c03c09f0
1 changed files with 5 additions and 5 deletions
|
@ -65,10 +65,6 @@ class Yuuki:
|
|||
else:
|
||||
self.YuukiVariable = {}
|
||||
|
||||
self.YuukiVariable["sync"] = self.data.Data
|
||||
self.YuukiVariable["Power"] = True
|
||||
self.YuukiVariable["SecurityService"] = self.YuukiConfigs["SecurityService"]
|
||||
|
||||
# Initialize
|
||||
|
||||
(self.client, self.listen) = self.Connect.connect()
|
||||
|
@ -79,11 +75,15 @@ class Yuuki:
|
|||
|
||||
self.MyMID = self.client.getProfile().mid
|
||||
self.revision = self.client.getLastOpRevision()
|
||||
self.YuukiVariable["GroupJoined"] = self.client.getGroupIdsJoined()
|
||||
|
||||
if len(self.data.getData("LimitInfo")) != 2:
|
||||
self.data.updateData(self.data.Data, "LimitInfo", self.data.LimitType)
|
||||
|
||||
self.YuukiVariable["Power"] = True
|
||||
self.YuukiVariable["sync"] = self.data.Data
|
||||
self.YuukiVariable["GroupJoined"] = self.client.getGroupIdsJoined()
|
||||
self.YuukiVariable["SecurityService"] = self.YuukiConfigs["SecurityService"]
|
||||
|
||||
global _
|
||||
_ = self.i18n._
|
||||
|
||||
|
|
Loading…
Reference in a new issue