increase readability by using f-strings (#1597)
* increase readability by using f-strings * readd merge conflict stuff --------- Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ class LndRestWallet(Wallet):
|
||||
endpoint = settings.lnd_rest_endpoint
|
||||
endpoint = endpoint[:-1] if endpoint.endswith("/") else endpoint
|
||||
endpoint = (
|
||||
"https://" + endpoint if not endpoint.startswith("http") else endpoint
|
||||
f"https://{endpoint}" if not endpoint.startswith("http") else endpoint
|
||||
)
|
||||
self.endpoint = endpoint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user