mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-09 19:54:20 +01:00
simplify code
This commit is contained in:
@@ -334,9 +334,7 @@ async def receive(ctx, token: str, lock: str):
|
||||
|
||||
# if it was not an lnbits link
|
||||
if url is None:
|
||||
url = input(f"Enter mint URL (default: {MINT_URL}: ")
|
||||
if url == "":
|
||||
url = MINT_URL
|
||||
url = input(f"Enter mint URL (default: {MINT_URL}: ") or MINT_URL
|
||||
|
||||
# and add url and keyset id to token from link extraction above
|
||||
if url:
|
||||
|
||||
Reference in New Issue
Block a user