[O] Replace \t with " "
This commit is contained in:
parent
9018dbb461
commit
8ffb8063ca
2 changed files with 2 additions and 2 deletions
2
neofetch
2
neofetch
|
@ -12571,7 +12571,7 @@ xxxxxxxxxxxxxxxxxx0 xxxxxxxxxxxxxx
|
|||
0xxx00
|
||||
x00
|
||||
EOF
|
||||
;;
|
||||
;;
|
||||
|
||||
"Scientific"*)
|
||||
set_colors 4 7 1
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue