From edbeb02efb323b2a40380523ca1e4fdcfa668b9d Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 15 May 2012 23:14:51 +0200 Subject: [PATCH] Proper version check --- couchpotato/core/_base/updater/main.py | 2 +- version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index ac9ad834..c12c4b9f 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -370,7 +370,7 @@ class DesktopUpdater(Plugin): try: latest = self.desktop._esky.find_update() - if latest != current_version.get('hash'): + if latest and latest != current_version.get('hash'): self.update_version = { 'hash': latest, 'date': None, diff --git a/version.py b/version.py index a14b9d3e..3808ef1d 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -VERSION = '2.0.0-pre1' +VERSION = '2.0.0.pre1'