fix: os name in info

pull/67/head
Rilliat 2025-01-15 18:41:53 +03:00
parent ed3243861e
commit 8cd94d4da4
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class HerokuInfoMod(loader.Module):
]:
platform = platform.replace(emoji, icon)
try: os = lib_platform.freedesktop_os_release()["PRETTY_NAME"]
try: os = lib_platform.freedesktop_os_release()["PRETTY_NAME"] or self.strings('non_detectable')
except Exception: os = self.strings('non_detectable')
return (