deluge/encryption/plugins/HelloWorld/plugin.py

20 lines
388 B
Python
Raw Normal View History

2007-05-29 08:39:30 +00:00
# A simple plugin to display Hello, World
class plugin_Hello:
def __init__(self, path, deluge_core, deluge_interface):
self.path = path
self.core = deluge_core
self.interface = deluge_interface
def unload(self):
pass
def update(self):
print "Hello, World!"
register_plugin("Hello World",
plugin_Hello,
"Zach Tibbitts",
"1.0",
'Displays "Hello, World"')