mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
vista python 2.5.2 fix
This commit is contained in:
parent
a530367fd7
commit
35e6059b10
1 changed files with 5 additions and 7 deletions
10
src/core.py
10
src/core.py
|
@ -350,13 +350,11 @@ class Manager:
|
||||||
deluge_core.quit()
|
deluge_core.quit()
|
||||||
|
|
||||||
#kill dbus on windows
|
#kill dbus on windows
|
||||||
import platform
|
if common.windows_check():
|
||||||
if platform.system() == "Windows":
|
if platform.win32_ver()[1] >= 6:
|
||||||
import os
|
|
||||||
os.popen4('tskill.exe dbus-daemon-deluge')
|
|
||||||
elif platform.system() == "Microsoft":
|
|
||||||
import os
|
|
||||||
os.popen4('taskkill.exe /IM dbus-daemon-deluge.exe /F')
|
os.popen4('taskkill.exe /IM dbus-daemon-deluge.exe /F')
|
||||||
|
else:
|
||||||
|
os.popen4('tskill.exe dbus-daemon-deluge')
|
||||||
|
|
||||||
def pickle_state(self):
|
def pickle_state(self):
|
||||||
print "save uploaded memory"
|
print "save uploaded memory"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue