mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Updating terminal version message (#3408)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user