diff options
Diffstat (limited to '')
| -rw-r--r-- | .config/fastfetch/confgen.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |||
| 11 | additional_entries: Optional[dict[str, type[Any]]] | 11 | additional_entries: Optional[dict[str, type[Any]]] |
| 12 | font_effect: Optional[str] | 12 | font_effect: Optional[str] |
| 13 | neighbour_branches: str | 13 | neighbour_branches: str |
| 14 | children: list["Node"] = [] | 14 | children: list["Node"] |
| 15 | 15 | ||
| 16 | def __init__(self, module, key, format=None, additional_entries=None, text=None, font_effect=None): | 16 | def __init__(self, module, key, format=None, additional_entries=None, text=None, font_effect=None): |
| 17 | self.module = module | 17 | self.module = module |
| @@ -20,6 +20,7 @@ class Node: | |||
| 20 | self.text = text | 20 | self.text = text |
| 21 | self.additional_entries = additional_entries | 21 | self.additional_entries = additional_entries |
| 22 | self.font_effect = font_effect | 22 | self.font_effect = font_effect |
| 23 | self.children = [] | ||
| 23 | 24 | ||
| 24 | def __str__(self) -> str: | 25 | def __str__(self) -> str: |
| 25 | return str(self.construct_fastfetch_description()) | 26 | return str(self.construct_fastfetch_description()) |
