Fix: CloudRemain was never wrote into config

This commit is contained in:
LmeSzinc 2024-06-17 02:29:39 +08:00
parent 62de353ced
commit 4f214ee7a2

View File

@ -158,9 +158,9 @@ class LoginAndroidCloud(ModuleBase):
logger.info(f'Cloud remain: season pass {season_pass} days, {paid} min paid, {free} min free') logger.info(f'Cloud remain: season pass {season_pass} days, {paid} min paid, {free} min free')
with self.config.multi_set(): with self.config.multi_set():
self.config.stored.CloudRemainSeasonPass = season_pass self.config.stored.CloudRemainSeasonPass.value = season_pass
self.config.stored.CloudRemainPaid = paid self.config.stored.CloudRemainPaid.value = paid
self.config.stored.CloudRemainFree = free self.config.stored.CloudRemainFree.value = free
def _cloud_enter(self, skip_first=False): def _cloud_enter(self, skip_first=False):
""" """