diff --git a/cbpi/__init__.py b/cbpi/__init__.py index 906a12e..4082435 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.2.0.a6" +__version__ = "4.2.0.a7" __codename__ = "Indian Summer" diff --git a/cbpi/controller/system_controller.py b/cbpi/controller/system_controller.py index b683679..d357d1b 100644 --- a/cbpi/controller/system_controller.py +++ b/cbpi/controller/system_controller.py @@ -219,12 +219,12 @@ class SystemController: for nic, addrs in ethernet.items(): if nic == "eth0": for addr in addrs: - if str(addr.family) == "AddressFamily.AF_INET": + if str(addr.family) == "AddressFamily.AF_INET" or str(addr.family) == "2": if addr.address: eth0IP = addr.address if nic == "wlan0": for addr in addrs: - if str(addr.family) == "AddressFamily.AF_INET": + if str(addr.family) == "AddressFamily.AF_INET" or str(addr.family) == "2": if addr.address: wlan0IP = addr.address info = psutil.net_if_stats() diff --git a/requirements.txt b/requirements.txt index 5102103..2c426f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ cryptography==41.0.4 pyopenssl==23.2.0 requests==2.31.0 voluptuous==0.13.1 -pyfiglet==0.8.post1 +pyfiglet==1.0.2 pandas==1.5.3 shortuuid==1.0.11 tabulate==0.9.0 @@ -20,7 +20,7 @@ cbpi4gui click==8.1.3 importlib_metadata==4.11.1 aiomqtt==1.0.0 -psutil==5.9.4 +psutil==5.9.6 zipp>=0.5 colorama==0.4.6 pytest-aiohttp diff --git a/setup.py b/setup.py index 36cb773..a8735ec 100644 --- a/setup.py +++ b/setup.py @@ -51,14 +51,14 @@ setup(name='cbpi4', "pyopenssl==23.2.0", "requests==2.31.0", "voluptuous==0.13.1", - "pyfiglet==0.8.post1", + "pyfiglet==1.0.2", 'click==8.1.3', 'shortuuid==1.0.11', 'tabulate==0.9.0', 'aiomqtt==1.0.0', 'inquirer==3.1.1', 'colorama==0.4.6', - 'psutil==5.9.4', + 'psutil==5.9.6', 'cbpi4gui', 'importlib_metadata', 'numpy==1.24.1',