From 2342bef84bdeb1e30ed5543f99f31b5640920971 Mon Sep 17 00:00:00 2001 From: DakkJaniels <6080734+DakkJaniels@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:41:17 -0400 Subject: [PATCH 1/2] Update cli.py fix version code bug --- cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cli.py b/cli/cli.py index 39b764e8..9cc802d0 100644 --- a/cli/cli.py +++ b/cli/cli.py @@ -32,7 +32,7 @@ from notifications.notifications import NotificationHandler, TIME_FORMAT from stores.amazon import Amazon from utils.logger import log -from utils.version import is_latest, version +from utils.version import is_latest, version, get_latest_version LICENSE_PATH = os.path.join( "cli", @@ -422,7 +422,7 @@ def show_traceroutes(domain): log.warning(f"FairGame PRE-RELEASE v{version}") else: log.warning( - f"You are running FairGame v{version.release}, but the most recent version is v{version.get_latest_version()}. " + f"You are running FairGame v{version}, but the most recent version is v{get_latest_version()}. " f"Consider upgrading " ) From 583167b728cb1f965b43d34546049c2a373eaf1e Mon Sep 17 00:00:00 2001 From: DakkJaniels <6080734+DakkJaniels@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:53:29 -0400 Subject: [PATCH 2/2] Update version.py --- utils/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/version.py b/utils/version.py index 8a320d0f..b6748163 100644 --- a/utils/version.py +++ b/utils/version.py @@ -27,7 +27,7 @@ # See https://www.python.org/dev/peps/pep-0440/ for specification # See https://www.python.org/dev/peps/pep-0440/#examples-of-compliant-version-schemes for examples -__VERSION = "0.6.1" +__VERSION = "0.6.2" version = Version(__VERSION)