Skip to content

Commit

Permalink
Fixed indentation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai-Suraj-27 committed Feb 5, 2024
1 parent cabb1ed commit f19c1a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/pyln-client/pyln/client/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,14 +950,14 @@ def verify_str(d: Dict[str, JSONType], key: str) -> str:
v = d.get(key)
if not isinstance(v, str):
raise TypeError("Wrong argument to init: expected {key} to be"
" a string, got {v}".format(key=key, v=v))
" a string, got {v}".format(key=key, v=v))
return v

def verify_bool(d: Dict[str, JSONType], key: str) -> bool:
v = d.get(key)
if not isinstance(v, bool):
raise TypeError("Wrong argument to init: expected {key} to be"
" a bool, got {v}".format(key=key, v=v))
" a bool, got {v}".format(key=key, v=v))
return v

self.rpc_filename = verify_str(configuration, 'rpc-file')
Expand Down

0 comments on commit f19c1a3

Please sign in to comment.