From 3f74571dfc2febd373b0457ff9374eaaeffd4159 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 28 Jul 2022 09:11:02 -0700 Subject: [PATCH] formatting --- jc/parsers/ip_address.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/parsers/ip_address.py b/jc/parsers/ip_address.py index 61fd6184..03b7c18c 100644 --- a/jc/parsers/ip_address.py +++ b/jc/parsers/ip_address.py @@ -504,7 +504,7 @@ def _b2a(byte_string: bytes) -> str: return colon_seperated -def _bin_format(ip: Union[ipaddress.IPv4Address,ipaddress.IPv6Address], length: int) -> str: +def _bin_format(ip: Union[ipaddress.IPv4Address, ipaddress.IPv6Address], length: int) -> str: return format(int(ip), '0>' + str(length) +'b')