mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: CloudRemainSeasonPass should be int
This commit is contained in:
parent
cec09f9926
commit
4e9a2bef03
@ -168,8 +168,7 @@ class LoginAndroidCloud(ModuleBase):
|
||||
elif '分钟' in text:
|
||||
season_pass = round(season_pass / 24 / 60, 3)
|
||||
elif text == '':
|
||||
# Save as empty string so dashboard will show NoData
|
||||
season_pass = ''
|
||||
season_pass = 0
|
||||
else:
|
||||
logger.error(f'Unexpected season pass text: {text}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user