mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-18 13:18:00 +02:00
chore: code lint
This commit is contained in:
parent
9fcf3121ac
commit
2c84f9781d
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,9 @@ UNSET_SECRET = _UnsetSecret()
|
|||
|
||||
class FakeStripeWallet:
|
||||
def __init__(self, secret: str | None | _UnsetSecret = UNSET_SECRET):
|
||||
self._secret = "connection-token" if isinstance(secret, _UnsetSecret) else secret
|
||||
self._secret = (
|
||||
"connection-token" if isinstance(secret, _UnsetSecret) else secret
|
||||
)
|
||||
|
||||
async def create_terminal_connection_token(self) -> dict[str, str]:
|
||||
if self._secret is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue