From 1ab71a45d385cc51d65ab04d71989e2906588509 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Thu, 28 Mar 2024 06:52:11 +0100 Subject: ✨ Only notify for a new app version, if app version is != v0.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tidal_dl_ng/__init__.py b/tidal_dl_ng/__init__.py index 35c8515..37b6915 100644 --- a/tidal_dl_ng/__init__.py +++ b/tidal_dl_ng/__init__.py @@ -121,8 +121,9 @@ __version__ = version_app() def update_available() -> (bool, ReleaseLatest): latest_info: ReleaseLatest = latest_version_information() result: bool = False + version_current: str = "v" + __version__ - if "v" + __version__ != latest_info.version: + if version_current != latest_info.version and version_current != "v0.0.0": result = True return result, latest_info -- cgit v1.3.1