mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-08 01:24:03 +00:00
fix bug in the start_daemon method
This commit is contained in:
parent
e0671a0daa
commit
8270c397da
@ -46,7 +46,7 @@ from twisted.internet.defer import Deferred, DeferredList
|
|||||||
from twisted.web import http, resource, server
|
from twisted.web import http, resource, server
|
||||||
|
|
||||||
from deluge import common, component, httpdownloader
|
from deluge import common, component, httpdownloader
|
||||||
from deluge.configmanager import ConfigManager
|
from deluge.configmanager import ConfigManager, get_config_dir
|
||||||
from deluge.ui import common as uicommon
|
from deluge.ui import common as uicommon
|
||||||
from deluge.ui.client import client, Client
|
from deluge.ui.client import client, Client
|
||||||
from deluge.ui.coreconfig import CoreConfig
|
from deluge.ui.coreconfig import CoreConfig
|
||||||
@ -675,7 +675,7 @@ class WebApi(JSONComponent):
|
|||||||
"""
|
"""
|
||||||
Starts a local daemon.
|
Starts a local daemon.
|
||||||
"""
|
"""
|
||||||
client.start_daemon(port, deluge.configmanager.get_config_dir())
|
client.start_daemon(port, get_config_dir())
|
||||||
|
|
||||||
@export
|
@export
|
||||||
def stop_daemon(self, host_id):
|
def stop_daemon(self, host_id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user