fix vista check

This commit is contained in:
Marcos Pinto 2008-04-07 01:31:53 +00:00
parent 35e6059b10
commit c464d64d46
1 changed files with 1 additions and 1 deletions

View File

@ -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')