Small aesthetic code changes

CURA-7180 keyring storage
This commit is contained in:
Jelle Spijker 2021-03-17 09:30:31 +01:00
parent c462b62edc
commit 387fc36dc6
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
2 changed files with 1 additions and 3 deletions

View file

@ -52,7 +52,6 @@ class AuthorizationService:
self.onAuthStateChanged.connect(self._authChanged)
def _authChanged(self, logged_in):
if logged_in and self._unable_to_get_data_message is not None:
self._unable_to_get_data_message.hide()
@ -230,7 +229,6 @@ class AuthorizationService:
return
try:
preferences_data = json.loads(self._preferences.getValue(self._settings.AUTH_DATA_PREFERENCE_KEY))
if preferences_data:
self._auth_data = AuthenticationResponse(**preferences_data)
# Also check if we can actually get the user profile information.