mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 01:55:15 +00:00
fix vista check
This commit is contained in:
parent
35e6059b10
commit
c464d64d46
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user