From f446b35ad7805d73255e783b9e55271a2f86f42f Mon Sep 17 00:00:00 2001 From: Ricardo Amaral Date: Thu, 14 Nov 2024 23:44:58 -0500 Subject: [PATCH] Fix 'AnsiFore' object has no attribute 'DIM' --- pysipfenn/core/pysipfenn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysipfenn/core/pysipfenn.py b/pysipfenn/core/pysipfenn.py index 03b7873..8c75148 100644 --- a/pysipfenn/core/pysipfenn.py +++ b/pysipfenn/core/pysipfenn.py @@ -221,7 +221,7 @@ def updateModelAvailability(self) -> None: print(f"{Style.DIM}✘ {netName}{Style.RESET_ALL}") except UnicodeEncodeError: # Fallback to ASCII characters if Unicode encoding fails - print(f"{Fore.DIM}x {netName}{Style.RESET_ALL}") + print(f"{Style.DIM}x {netName}{Style.RESET_ALL}") self.network_list_available = detectedNets def downloadModels(self, network: str = 'all') -> None: