From 12797d7e459f442bedfd9d1b9b5d4c607b36b600 Mon Sep 17 00:00:00 2001 From: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Date: Mon, 17 Oct 2022 19:01:39 +0200 Subject: [PATCH] Attempting to improve accuracy of latest version message (#2874) --- openbb_terminal/terminal_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_terminal/terminal_helper.py b/openbb_terminal/terminal_helper.py index 4b2c4715816..dacc7a8d261 100644 --- a/openbb_terminal/terminal_helper.py +++ b/openbb_terminal/terminal_helper.py @@ -210,7 +210,7 @@ def check_for_updates() -> None: if r is not None and r.status_code == 200: release = r.json()["html_url"].split("/")[-1].replace("v", "") - if obbff.VERSION == release: + if obbff.VERSION.replace("m", "") == release: console.print("[green]You are using the latest version[/green]") else: console.print("[red]You are not using the latest version[/red]")