mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-04-24 07:26:50 -05:00
Temporary fix to GH-399 (#428)
Some checks failed
Shellcheck / check (push) Has been cancelled
Some checks failed
Shellcheck / check (push) Has been cancelled
This commit is contained in:
parent
a463f4234c
commit
075fc467d2
|
|
@ -465,6 +465,7 @@ def run():
|
|||
try:
|
||||
asc = get_distro_ascii() if not args.ascii_file else Path(args.ascii_file).read_text("utf-8")
|
||||
asc = config.color_align.recolor_ascii(asc, preset)
|
||||
asc = '\n'.join(asc.split('\n')[1:])
|
||||
neofetch_util.run(asc, config.backend, config.args or '')
|
||||
except Exception as e:
|
||||
print(f'Error: {e}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user