mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-07-25 04:00:38 +02:00
Fixed urelease bug
This commit is contained in:
2
archey
2
archey
@@ -141,8 +141,8 @@ def screenshot():
|
||||
def distro_display():
|
||||
arch = Popen(['uname', '-m'], stdout=PIPE).communicate()[0].rstrip('\n'
|
||||
)
|
||||
urelease = linecache.getline('/etc/lsb-release', 2).rstrip('\n').split('=')[1].title()
|
||||
if DetectUbuntu:
|
||||
urelease = linecache.getline('/etc/lsb-release', 2).rstrip('\n').split('=')[1].title()
|
||||
distro = 'Ubuntu %s %s' % (urelease, arch)
|
||||
if DetectArch:
|
||||
distro = 'Arch Linux %s' % arch
|
||||
|
Reference in New Issue
Block a user