diff --git a/openbb_terminal/keys_controller.py b/openbb_terminal/keys_controller.py index 11315c96b4f..3110bfb5cd7 100644 --- a/openbb_terminal/keys_controller.py +++ b/openbb_terminal/keys_controller.py @@ -51,7 +51,14 @@ class KeysController(BaseController): # pylint: disable=too-many-public-methods def check_keys_status(self) -> None: """Check keys status""" for api in tqdm(self.API_LIST, desc="Checking keys status"): - self.status_dict[api] = getattr(keys_model, "check_" + str(api) + "_key")() + if api == "openbb": + self.status_dict[api] = getattr( + keys_model, "check_" + str(api) + "_personal_access_token" + )() + else: + self.status_dict[api] = getattr( + keys_model, "check_" + str(api) + "_key" + )() def print_help(self): """Print help"""