镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/display_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2521,8 +2521,10 @@ def _wifi_notice_pending(self) -> bool:
if self.on_demand_active:
return False
status = self._check_wifi_status_message()
if not status:
return False
# The 1 s throttle can hand back a result that has expired since.
return bool(status) and time.time() < status['expires_at']
return time.time() < float(status['expires_at'])
Comment thread
ChuckBuilds marked this conversation as resolved.
Resolved

def _resolve_active_mode(self):
"""The mode this pass shows: the on-demand session's current mode
Expand Down
Loading