1
0
mirror of https://github.com/HorlogeSkynet/archey4 synced 2025-07-25 04:00:38 +02:00

Fixed urelease bug

This commit is contained in:
DjMelik
2010-08-23 14:48:16 -07:00
parent 57f8e864f0
commit 802d3df689

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