[F] Fix distro listing
This commit is contained in:
parent
9945075de5
commit
09c62956a3
1 changed files with 1 additions and 1 deletions
|
@ -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'):]
|
||||||
|
|
Loading…
Reference in a new issue