[O] tools: Use module instead of custom search path
This commit is contained in:
@@ -6,14 +6,11 @@ List distributions supported by neofetch
|
||||
from __future__ import annotations
|
||||
|
||||
import string
|
||||
import sys
|
||||
import textwrap
|
||||
from pathlib import Path
|
||||
|
||||
import regex
|
||||
|
||||
sys.path.append(str(Path(__file__).parent.parent))
|
||||
|
||||
from hyfetch.distro import AsciiArt
|
||||
|
||||
RE_SPLIT = regex.compile('EOF[ \n]*?;;')
|
||||
@@ -119,6 +116,7 @@ from hyfetch.distro import AsciiArt
|
||||
|
||||
def export_distros():
|
||||
distros = parse_ascii_distros()
|
||||
print(len(distros))
|
||||
[export_distro(d) for d in distros]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user