Updating terminal version message (#3408)

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
James Simmons
2022-11-14 11:25:29 -05:00
committed by GitHub
parent 0ae89d6cc2
commit 2b60a1cf38

View File

@@ -233,9 +233,9 @@ def check_for_updates() -> None:
"[yellow]Check for updates at https://openbb.co/products/terminal#get-started[/yellow]"
)
break
if int(lastest_split[i]) < int(
current[i]
) or release == obbff.VERSION.replace("m", ""):
if int(lastest_split[i]) < int(current[i]):
console.print("[yellow]You are using an unreleased version[/yellow]")
if release == obbff.VERSION.replace("m", ""):
console.print("[green]You are using the latest version[/green]")
break
else: