From 2b60a1cf384be7776a5df78fdc57a93e9057dc0f Mon Sep 17 00:00:00 2001 From: James Simmons <53658028+simmonsj330@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:25:29 -0500 Subject: [PATCH] Updating terminal version message (#3408) Co-authored-by: Henrique Joaquim --- openbb_terminal/terminal_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_terminal/terminal_helper.py b/openbb_terminal/terminal_helper.py index 6d579cf3f90..bc080d63cdc 100644 --- a/openbb_terminal/terminal_helper.py +++ b/openbb_terminal/terminal_helper.py @@ -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: