Add a test script for testing the signalreceiver
This commit is contained in:
parent
00ed73f453
commit
4ab3577172
|
@ -0,0 +1,9 @@
|
|||
from deluge.configmanager import ConfigManager
|
||||
import deluge.xmlrpclib as xmlrpclib
|
||||
|
||||
config = ConfigManager("gtkui.conf")
|
||||
|
||||
client = xmlrpclib.ServerProxy("http://localhost:" + str(config["signal_port"]))
|
||||
|
||||
client.emit_signal("torrent_finished", "abc123")
|
||||
|
Loading…
Reference in New Issue