From 8cad57be8a1661648c0282d8aa87f94d2314ae04 Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Tue, 16 Dec 2025 10:04:33 +0300 Subject: [fastfetch] bugfix child list creation --- .config/fastfetch/confgen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config') diff --git a/.config/fastfetch/confgen.py b/.config/fastfetch/confgen.py index 052b95f..c5c068a 100644 --- a/.config/fastfetch/confgen.py +++ b/.config/fastfetch/confgen.py @@ -11,7 +11,7 @@ class Node: additional_entries: Optional[dict[str, type[Any]]] font_effect: Optional[str] neighbour_branches: str - children: list["Node"] = [] + children: list["Node"] def __init__(self, module, key, format=None, additional_entries=None, text=None, font_effect=None): self.module = module @@ -20,6 +20,7 @@ class Node: self.text = text self.additional_entries = additional_entries self.font_effect = font_effect + self.children = [] def __str__(self) -> str: return str(self.construct_fastfetch_description()) -- cgit v1.3