Merge pull request 'Add missing f to f-string' (#4234) from jfly/clan-core:oops-f-string into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4234
This commit is contained in:
Mic92
2025-07-07 12:30:20 +00:00

View File

@@ -15,7 +15,7 @@ class ClanError(Exception):
def compute_zerotier_ip(network_id: str, identity: str) -> ipaddress.IPv6Address:
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)
node_id = int(identity, 16)