mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
remove no longer needed exec_deluge_command
This commit is contained in:
parent
f5951ef7b7
commit
eac5b42336
1 changed files with 0 additions and 10 deletions
|
@ -180,16 +180,6 @@ def exec_command(executable, *parameters):
|
||||||
warning.run()
|
warning.run()
|
||||||
warning.destroy()
|
warning.destroy()
|
||||||
|
|
||||||
def exec_deluge_command(script, *parameters):
|
|
||||||
"""Execute deluge's command like browser.py, update.py and others"""
|
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
py_version = sys.version[:3]
|
|
||||||
full_path = os.path.join(INSTALL_PREFIX, 'lib', 'python' + py_version,
|
|
||||||
'site-packages', 'deluge', script)
|
|
||||||
exec_command('python', full_path, *parameters)
|
|
||||||
|
|
||||||
def send_info():
|
def send_info():
|
||||||
import urllib
|
import urllib
|
||||||
import platform
|
import platform
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue