change os version as distro.lsb_release in system

This commit is contained in:
Tuncay ÇOLAK 2021-09-09 15:43:39 +03:00
parent 78ecc8af5f
commit 81de2ecbba

View file

@ -352,7 +352,9 @@ class System:
@staticmethod
def version():
return platform.version()
# return platform.version()
version = distro.lsb_release_info()['description'] +"-"+ distro.lsb_release_info()["release"]
return version
@staticmethod
def kernel_release():