[O] Replace \t with " "

This commit is contained in:
Azalea Gui 2023-04-01 21:06:03 -04:00
parent 9018dbb461
commit 8ffb8063ca
2 changed files with 2 additions and 2 deletions

View file

@ -12571,7 +12571,7 @@ xxxxxxxxxxxxxxxxxx0 xxxxxxxxxxxxxx
0xxx00
x00
EOF
;;
;;
"Scientific"*)
set_colors 4 7 1

View file

@ -63,7 +63,7 @@ def edit_versions(version: str):
# 4. neofetch script
print('Editing neofetch...')
path = Path('neofetch')
lines = path.read_text().split('\n')
lines = path.read_text().replace("\t", " ").split('\n')
version_i = next(i for i, l in enumerate(lines) if l.startswith('version='))
nf = pv.parse(lines[version_i].replace('version=', ''))
new = pv.parse(version)