1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-06 22:32:54 +02:00

formatting

This commit is contained in:
Kelly Brazil
2022-07-28 09:11:02 -07:00
parent c8c3d5dc3d
commit 3f74571dfc

View File

@ -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')