Add missing f to f-string
This commit is contained in:
@@ -15,7 +15,7 @@ class ClanError(Exception):
|
|||||||
|
|
||||||
def compute_zerotier_ip(network_id: str, identity: str) -> ipaddress.IPv6Address:
|
def compute_zerotier_ip(network_id: str, identity: str) -> ipaddress.IPv6Address:
|
||||||
assert len(network_id) == 16, (
|
assert len(network_id) == 16, (
|
||||||
"network_id must be 16 characters long, got {network_id}"
|
f"network_id must be 16 characters long, got {network_id}"
|
||||||
)
|
)
|
||||||
nwid = int(network_id, 16)
|
nwid = int(network_id, 16)
|
||||||
node_id = int(identity, 16)
|
node_id = int(identity, 16)
|
||||||
|
|||||||
Reference in New Issue
Block a user