mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-05-01 04:00:15 +02:00
fix error if wmctrl is not installed
This commit is contained in:
parent
7eab2dfad9
commit
0d75fa6b79
5
archey
5
archey
@ -470,9 +470,10 @@ class WindowManager:
|
||||
for key in wmDict.keys():
|
||||
if key in processes:
|
||||
wm = wmDict[key]
|
||||
break
|
||||
else:
|
||||
wm = 'Not detected'
|
||||
|
||||
self.value = wm or 'Not detected'
|
||||
self.value = wm
|
||||
|
||||
|
||||
class DesktopEnvironment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user