You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
294 B
17 lines
294 B
4 years ago
|
#! /usr/bin/env python3
|
||
|
'''This plugin is a do-nothing backup plugin which just checks that we
|
||
|
can handle multiple backup plugins.
|
||
|
'''
|
||
|
|
||
|
from pyln.client import Plugin
|
||
|
|
||
|
plugin = Plugin()
|
||
|
|
||
|
|
||
|
@plugin.hook('db_write')
|
||
|
def db_write(plugin, **kwargs):
|
||
|
return {'result': 'continue'}
|
||
|
|
||
|
|
||
|
plugin.run()
|