diff options
Diffstat (limited to 'openbb_terminal/sdk.py')
-rw-r--r-- | openbb_terminal/sdk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbb_terminal/sdk.py b/openbb_terminal/sdk.py index a995e7ae44d..8707e2c559a 100644 --- a/openbb_terminal/sdk.py +++ b/openbb_terminal/sdk.py @@ -39,7 +39,7 @@ class OpenBBSDK: `whoami`: Display user info.\n """ - __version__ = obbff.VERSION + __version__ = cfg.VERSION def __init__(self): SDKLogger() @@ -570,7 +570,7 @@ class SDKLogger: @staticmethod def _try_to_login(sdk: "OpenBBSDK"): - if User.is_guest() and is_auth_enabled(): + if is_local() and is_auth_enabled(): try: sdk.login() except Exception: |