first plugin
This commit is contained in:
19
plugins/ExamplePlugin/plugin.py
Normal file
19
plugins/ExamplePlugin/plugin.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
class plugin_Example:
|
||||
def __init__(self, deluge_core, deluge_interface):
|
||||
self.core = deluge_core
|
||||
self.interface = deluge_interface
|
||||
|
||||
def unload(self):
|
||||
pass
|
||||
|
||||
def update(self):
|
||||
pass
|
||||
|
||||
|
||||
register_plugin("Example",
|
||||
plugin_Example,
|
||||
"0.2",
|
||||
"An example plugin",
|
||||
requires="0.5.0")
|
Reference in New Issue
Block a user