[F] Fix list_distros compatibility
This commit is contained in:
parent
fac90ec5d3
commit
ca3c887b61
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ from hypy_utils import write
|
||||||
from hyfetch.distros import AsciiArt
|
from hyfetch.distros import AsciiArt
|
||||||
|
|
||||||
RE_SPLIT = regex.compile('EOF[ \n]*?;;')
|
RE_SPLIT = regex.compile('EOF[ \n]*?;;')
|
||||||
RE_COLORS = regex.compile("""(?<=set_colors )[a-z\\d ]+(?=\n)""")
|
RE_COLORS = regex.compile("""(?<=set_colors )[\"#a-z\\d ]+(?=\n)""")
|
||||||
|
|
||||||
|
|
||||||
def substr(s: str, start: str, end: str | None = None):
|
def substr(s: str, start: str, end: str | None = None):
|
||||||
|
|
Loading…
Reference in a new issue