mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +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:
|
elif '分钟' in text:
|
||||||
season_pass = round(season_pass / 24 / 60, 3)
|
season_pass = round(season_pass / 24 / 60, 3)
|
||||||
elif text == '':
|
elif text == '':
|
||||||
# Save as empty string so dashboard will show NoData
|
season_pass = 0
|
||||||
season_pass = ''
|
|
||||||
else:
|
else:
|
||||||
logger.error(f'Unexpected season pass text: {text}')
|
logger.error(f'Unexpected season pass text: {text}')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user