mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-15 22:02:31 +00:00
display onoff
This commit is contained in:
@@ -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.")
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user