Changeset 1174:e5668ec0ad5f
- Timestamp:
- 10/20/24 13:02:17 (5 weeks ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r1173 r1174 6452 6452 def entranceExam(self): 6453 6453 """Get whether an entrance exam is about to be taken.""" 6454 return self. _loginResult is not Noneand self._loginResult.rank=="STU"6454 return self.loggedIn and self._loginResult.rank=="STU" 6455 6455 6456 6456 @property 6457 6457 def loggedIn(self): 6458 6458 """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 6460 6460 6461 6461 @property
Note:
See TracChangeset
for help on using the changeset viewer.