Ignore:
Timestamp:
10/20/24 13:02:17 (5 weeks ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The "logged-in" status depends on the login result's contents (re #391)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r1173 r1174  
    64526452    def entranceExam(self):
    64536453        """Get whether an entrance exam is about to be taken."""
    6454         return self._loginResult is not None and self._loginResult.rank=="STU"
     6454        return self.loggedIn and self._loginResult.rank=="STU"
    64556455
    64566456    @property
    64576457    def loggedIn(self):
    64586458        """Indicate if there was a successful login."""
    6459         return self._loginResult is not None
     6459        return self._loginResult is not None and self.loginResult.loggedIn
    64606460
    64616461    @property
Note: See TracChangeset for help on using the changeset viewer.