[O] Replace \t with " "
This commit is contained in:
parent
9018dbb461
commit
8ffb8063ca
2 changed files with 2 additions and 2 deletions
|
@ -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