From f1292471f01c257c1c8b41f7a1d394e2357d7775 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Fri, 5 Nov 2010 19:18:21 -0400 Subject: [PATCH] fix check_version() in some plugins The conditions for returning True and returning False were off --- plugins/web_radio.py | 4 ++-- plugins/wm_tweaks.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/web_radio.py b/plugins/web_radio.py index 2b628ec7..b12d00a1 100644 --- a/plugins/web_radio.py +++ b/plugins/web_radio.py @@ -49,5 +49,5 @@ def check_version(): if ocarina.__major__ != 4: return False if ocarina.__minor__ >= 1: - return False - return True + return True + return False diff --git a/plugins/wm_tweaks.py b/plugins/wm_tweaks.py index 05ec78d1..933464e3 100644 --- a/plugins/wm_tweaks.py +++ b/plugins/wm_tweaks.py @@ -34,5 +34,5 @@ def check_version(): if ocarina.__major__ != 4: return False if ocarina.__minor__ >= 1: - return False - return True + return True + return False