From ff1c2dcded68df1d4eead6e64c36989b32d9fdb0 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Mon, 17 Feb 2025 13:43:53 +0100 Subject: [PATCH] Fix a minor logic itch --- compressIPv4.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compressIPv4.py b/compressIPv4.py index ec9b62b..145af90 100755 --- a/compressIPv4.py +++ b/compressIPv4.py @@ -6,7 +6,7 @@ import traceback from typing import Union -__version__: str = "1.0.0" +__version__: str = "1.0.1" __author__: str = "Nils Freydank " __copyright__: str = "MIT" @@ -86,7 +86,6 @@ if __name__ == "__main__": print(f" use according to {__copyright__} license instructions") print("~" * 65) - if args.ip_v4_address: - print(get_compressed_v4(args.ip_v4_address, out_hex)) + print(get_compressed_v4(args.ip_v4_address, out_hex)) # vim:syntax=python:fileencoding=utf-8:ts=4:expandtab:linebreak:wrap