From f1ed8f3827ab089a03a7a188e53c89ed1c08bd52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Val=C3=A9rio?= Date: Mon, 25 Nov 2019 19:24:46 +0000 Subject: [PATCH] add missing f-string symbol --- django_cryptolock/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_cryptolock/utils.py b/django_cryptolock/utils.py index 500e597..7a6ee01 100644 --- a/django_cryptolock/utils.py +++ b/django_cryptolock/utils.py @@ -11,7 +11,7 @@ def verify_signature(address: str, challenge: str, signature: str) -> bool: host = settings.MONERO_WALLET_RPC_HOST user = settings.MONERO_WALLET_RPC_USER pwd = settings.MONERO_WALLET_RPC_PASS - wallet_rpc = AuthServiceProxy("{protocol}://{user}:{pwd}@{host}/json_rpc") + wallet_rpc = AuthServiceProxy(f"{protocol}://{user}:{pwd}@{host}/json_rpc") result = wallet_rpc.verify( {"data": challenge, "address": address, "signature": signature}