mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 13:13:59 +00:00
Attempting to improve accuracy of latest version message (#2874)
This commit is contained in:
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user