From 59cdfe286d4dea461e221c012151112c87d251e6 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Fri, 5 Sep 2014 17:32:00 +0200 Subject: changed format_output(...) to remove unnecessary quotation marks --- archey3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3