mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-04-13 04:00:15 +02:00
Handles systems without any DE and / or WM (from PR #14)
This commit is contained in:
parent
3a920d7b8c
commit
1adee381ce
4
archey
4
archey
@ -183,7 +183,7 @@ class Uptime:
|
||||
|
||||
class WindowManager:
|
||||
def __init__(self):
|
||||
wm = ''
|
||||
wm = 'None'
|
||||
for key in wmDict.keys():
|
||||
if key in processes:
|
||||
wm = wmDict[key]
|
||||
@ -195,7 +195,7 @@ class WindowManager:
|
||||
|
||||
class DesktopEnvironment:
|
||||
def __init__(self):
|
||||
de = ''
|
||||
de = 'None'
|
||||
for key in deDict.keys():
|
||||
if key in processes:
|
||||
de = deDict[key]
|
||||
|
Loading…
x
Reference in New Issue
Block a user