[F] Fix distro listing

This commit is contained in:
Azalea 2023-12-01 19:21:31 -05:00
parent 9945075de5
commit 09c62956a3

View file

@ -34,7 +34,7 @@ def parse_ascii_distros() -> list[AsciiArt]:
""" """
Parse ascii distros from neofetch script Parse ascii distros from neofetch script
""" """
nf = (Path(__file__).parent.parent / 'neofetch').read_text() nf = (Path(__file__).parent.parent / 'neofetch').read_text().replace('\t', ' ' * 4)
# Get the content of "get_distro_ascii" function # Get the content of "get_distro_ascii" function
nf = nf[nf.index('get_distro_ascii() {\n'):] nf = nf[nf.index('get_distro_ascii() {\n'):]