fix vista check
This commit is contained in:
parent
35e6059b10
commit
c464d64d46
|
@ -351,7 +351,7 @@ class Manager:
|
||||||
|
|
||||||
#kill dbus on windows
|
#kill dbus on windows
|
||||||
if common.windows_check():
|
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')
|
os.popen4('taskkill.exe /IM dbus-daemon-deluge.exe /F')
|
||||||
else:
|
else:
|
||||||
os.popen4('tskill.exe dbus-daemon-deluge')
|
os.popen4('tskill.exe dbus-daemon-deluge')
|
||||||
|
|
Loading…
Reference in New Issue