From c464d64d4600f2152513d7ab20a327c6b3f41c5d Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 7 Apr 2008 01:31:53 +0000 Subject: [PATCH] fix vista check --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 0f1705240..18c3f3148 100644 --- a/src/core.py +++ b/src/core.py @@ -351,7 +351,7 @@ class Manager: #kill dbus on windows if common.windows_check(): - if platform.win32_ver()[1] >= 6: + if platform.win32_ver()[1] > '6': os.popen4('taskkill.exe /IM dbus-daemon-deluge.exe /F') else: os.popen4('tskill.exe dbus-daemon-deluge')