Merge pull request #67 from Rilliat/v1.6.9

fix: os name in info
pull/68/head
Who? 2025-01-16 01:42:55 +10:00 committed by GitHub
commit 54cf1f0995
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 (