mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 09:42:15 +03:00
change os version as distro.lsb_release in system
This commit is contained in:
parent
78ecc8af5f
commit
81de2ecbba
1 changed files with 3 additions and 1 deletions
|
@ -352,7 +352,9 @@ class System:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def version():
|
def version():
|
||||||
return platform.version()
|
# return platform.version()
|
||||||
|
version = distro.lsb_release_info()['description'] +"-"+ distro.lsb_release_info()["release"]
|
||||||
|
return version
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def kernel_release():
|
def kernel_release():
|
||||||
|
|
Loading…
Reference in a new issue