summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <lclarkmichalek@gmail.com>2014-09-05 16:54:48 +0100
committerLaurie Clark-Michalek <lclarkmichalek@gmail.com>2014-09-05 16:54:48 +0100
commit4aec92100fd6a7bd5baced31a117bb8d6abbcf40 (patch)
tree36f2d6130ca0cc8997ae0276420ff08cb4aa5d68
parent22b435c9ccdc8a9ec587850259782ecd9c7d22c4 (diff)
parent59cdfe286d4dea461e221c012151112c87d251e6 (diff)
Merge pull request #22 from 4lexwe/master
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))