mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-21 22:02: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
|
||||
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():
|
||||
|
|
Loading…
Reference in a new issue