From 8549306a7bd91ec535c15a16cd7b9c9735f78217 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 5 Mar 2021 19:32:50 -0800 Subject: [PATCH] Stop showing entire changelog on new install [skip ci] --- plexpy/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 8982aab9..705df445 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -302,8 +302,6 @@ def initialize(config_file): except IOError as e: logger.error("Unable to read previous version from file '%s': %s" % (version_lock_file, e)) - else: - prev_version = 'cfd30996264b7e9fe4ef87f02d1cc52d1ae8bfca' # Get the currently installed version. Returns None, 'win32' or the git # hash. @@ -340,8 +338,6 @@ def initialize(config_file): except IOError as e: logger.error("Unable to read previous release from file '%s': %s" % (release_file, e)) - elif prev_version == 'cfd30996264b7e9fe4ef87f02d1cc52d1ae8bfca': # Commit hash for v1.4.25 - PREV_RELEASE = 'v1.4.25' # Check if the release was updated if common.RELEASE != PREV_RELEASE: