parent
1e68f174cd
commit
e33ccd3484
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ def get_fore_back(distro: str | None = None) -> tuple[int, int] | None:
|
||||||
distro = get_distro_name().lower()
|
distro = get_distro_name().lower()
|
||||||
distro = distro.lower().replace(' ', '-')
|
distro = distro.lower().replace(' ', '-')
|
||||||
for k, v in fore_back.items():
|
for k, v in fore_back.items():
|
||||||
if distro == k.lower():
|
if distro.startswith(k.lower()):
|
||||||
return v
|
return v
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue