From 754fd24421ec91560d972e2977c2fb6003f1e42d Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 24 Feb 2018 10:09:02 -0800 Subject: [PATCH] Refactor some code --- data/interfaces/default/base.html | 2 +- data/interfaces/default/index.html | 2 +- data/interfaces/default/settings.html | 4 ++-- plexpy/__init__.py | 11 ++++++----- plexpy/common.py | 7 +++---- plexpy/http_handler.py | 2 +- plexpy/notification_handler.py | 4 ++-- plexpy/versioncheck.py | 10 +++++----- plexpy/webserve.py | 6 +++--- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index ac411ba8..3738142b 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -47,7 +47,7 @@ You are running an unknown version of Tautulli.
Update or Dismiss - % elif plexpy.CONFIG.CHECK_GITHUB and plexpy.COMMITS_BEHIND > 0 and plexpy.common.BRANCH in ('master', 'beta') and plexpy.common.VERSION_NUMBER != plexpy.LATEST_RELEASE: + % elif plexpy.CONFIG.CHECK_GITHUB and plexpy.COMMITS_BEHIND > 0 and plexpy.common.BRANCH in ('master', 'beta') and plexpy.common.RELEASE != plexpy.LATEST_RELEASE: