mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-19 22:24:19 +01:00
backup: fix flake8 code nits
This commit is contained in:
committed by
Christian Decker
parent
7953dc0011
commit
7f18073a3a
@@ -98,9 +98,9 @@ def on_init(options, **kwargs):
|
||||
# IMPORTANT NOTE
|
||||
# Putting RPC stuff in init() like the following can cause deadlocks!
|
||||
# See: https://github.com/lightningd/plugins/issues/209
|
||||
#configs = plugin.rpc.listconfigs()
|
||||
#if not configs['wallet'].startswith('sqlite3'):
|
||||
# kill("The backup plugin only works with the sqlite3 database.")
|
||||
# configs = plugin.rpc.listconfigs()
|
||||
# if not configs['wallet'].startswith('sqlite3'):
|
||||
# kill("The backup plugin only works with the sqlite3 database.")
|
||||
|
||||
|
||||
def kill(message: str):
|
||||
|
||||
Reference in New Issue
Block a user