diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index 4e8d28173a..e62e00a793 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/cura/OAuth2/AuthorizationService.py @@ -305,7 +305,8 @@ class AuthorizationService: message_type = Message.MessageType.ERROR) Logger.warning("Unable to get user profile using auth data from preferences.") self._unable_to_get_data_message.show() - self.getUserProfile(callback) + if self._get_user_profile: + self.getUserProfile(callback) except (ValueError, TypeError): Logger.logException("w", "Could not load auth data from preferences")