Author: damoxc
Revision: 5774
Log:
fix bug in the start_daemon method
Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py 2009-09-24 08:35:40 UTC (rev 5773)
+++ trunk/deluge/ui/web/json_api.py 2009-09-24 08:37:20 UTC (rev 5774)
@@ -46,7 +46,7 @@
from twisted.web import http, resource, server
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.client import client, Client
from deluge.ui.coreconfig import CoreConfig
@@ -675,7 +675,7 @@
"""
Starts a local daemon.
"""
- client.start_daemon(port, deluge.configmanager.get_config_dir())
+ client.start_daemon(port, get_config_dir())
@export
def stop_daemon(self, host_id):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---