Author: damoxc

Revision: 5772

Log:
        add a start_daemon method

Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py     2009-09-24 08:11:11 UTC (rev 5771)
+++ trunk/deluge/ui/web/json_api.py     2009-09-24 08:33:35 UTC (rev 5772)
@@ -671,6 +671,13 @@
         return main_deferred
 
     @export
+    def start_daemon(self, port):
+        """
+       Starts a local daemon.
+       """
+        client.start_daemon(port, deluge.configmanager.get_config_dir())
+
+    @export
     def stop_daemon(self, host_id):
         """
         Stops a running daemon.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to