summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2014-09-05 17:32:00 +0200
committerAlexander Weidinger <alexwegoo@gmail.com>2014-09-05 17:32:00 +0200
commit59cdfe286d4dea461e221c012151112c87d251e6 (patch)
tree36f2d6130ca0cc8997ae0276420ff08cb4aa5d68
parent22b435c9ccdc8a9ec587850259782ecd9c7d22c4 (diff)
changed format_output(...) to remove unnecessary quotation marks
-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))