2019-03-04 04:00:33 +01:00
|
|
|
#!/usr/bin/env python3
|
2020-02-11 23:04:21 +01:00
|
|
|
from pyln.client import Plugin
|
2019-03-04 04:00:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
plugin = Plugin()
|
|
|
|
|
|
|
|
|
|
|
|
@plugin.method("utf8")
|
|
|
|
def echo(plugin, utf8):
|
|
|
|
assert '\\u' not in utf8
|
|
|
|
return {'utf8': utf8}
|
|
|
|
|
|
|
|
|
|
|
|
plugin.run()
|