mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
19 lines
318 B
Python
19 lines
318 B
Python
#!/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") |