From 0d1db6728edfbd7dd1d3592ab4765b614a868804 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Thu, 26 Jan 2023 19:47:56 +0000 Subject: [PATCH] display onoff --- openbb_terminal/account/account_controller.py | 6 ++++++ openbb_terminal/session/user.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/openbb_terminal/account/account_controller.py b/openbb_terminal/account/account_controller.py index c3283dac9aa..a79f0ace24a 100644 --- a/openbb_terminal/account/account_controller.py +++ b/openbb_terminal/account/account_controller.py @@ -102,6 +102,12 @@ class AccountController(BaseController): "OPENBB_SYNC_ENABLED", False, force=True ) + if obbff.SYNC_ENABLED: + sync = "ON" + else: + sync = "OFF" + console.print(f"[info]sync:[/info] {sync}") + def call_pull(self, _): """Pull data""" console.print("Pull, Diff and Merge.") diff --git a/openbb_terminal/session/user.py b/openbb_terminal/session/user.py index 823b2b1a86d..eb659ee75ae 100644 --- a/openbb_terminal/session/user.py +++ b/openbb_terminal/session/user.py @@ -60,7 +60,7 @@ class User: sync = "ON" else: sync = "OFF" - console.print(f"[info]sync:[/info] {sync}\n") + console.print(f"[info]sync:[/info] {sync}") else: console.print( "[info]You are currently logged as a guest.\n"