summaryrefslogtreecommitdiff
path: root/archey3
diff options
context:
space:
mode:
Diffstat (limited to 'archey3')
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
diff --git a/archey3 b/archey3
index c76e3ef..e0f681a 100755
--- a/archey3
+++ b/archey3
@@ -239,7 +239,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))