display onoff

This commit is contained in:
Diogo Sousa
2023-01-26 19:47:56 +00:00
parent 7aa57dc54f
commit 0d1db6728e
2 changed files with 7 additions and 1 deletions

View File

@@ -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.")

View File

@@ -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"