summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchey33
1 files changed, 2 insertions, 1 deletions
diff --git a/archey3 b/archey3
index b56d45a..8998cf1 100755
--- a/archey3
+++ b/archey3
@@ -94,6 +94,7 @@ WM_DICT = collections.OrderedDict([
('awesome', 'Awesome'),
('beryl', 'Beryl'),
('blackbox', 'Blackbox'),
+ ('bspwm', 'bspwm'),
('dwm', 'DWM'),
('enlightenment', 'Enlightenment'),
('fluxbox', 'Fluxbox'),
@@ -240,7 +241,7 @@ class fsDisplay(display):
def format_output(self, instring):
try:
decimal_point = self.call_command(
- 'locale -ck decimal_point').split('\n')[1].split('=')[1]
+ 'locale -ck decimal_point').split('\n')[1].split('=')[1].strip('\"')
except Exception as e:
self.state.logger.warning('Could not determine locale decimal point,' +
'defaulting to \'.\', failed with error {0}'.format(e))