mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
f5e08c3dae
mypy says it returns None, but it actually doesn't have to! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
193 B
Python
Executable File
13 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()
|