mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
mypy says it returns None, but it actually doesn't have to! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
193 B
Python
Executable file
12 lines
193 B
Python
Executable file
#!/usr/bin/env python3
|
|
from pyln.client import Plugin
|
|
|
|
plugin = Plugin()
|
|
|
|
|
|
@plugin.init()
|
|
def init(configuration, options, plugin):
|
|
return {'disable': 'init saying disable'}
|
|
|
|
|
|
plugin.run()
|