From 43626b2ba20a983b127ae71743694e571680997a Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Wed, 12 Aug 2015 14:18:40 +0200 Subject: [PATCH] boardpanel.py: fix getCPUInfo(), don't report tuples. This was forgotten with the recent move to storing configuration items as tuples (value, enabled). It should fix the refusal to build reported in issue #86. --- configtool/boardpanel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configtool/boardpanel.py b/configtool/boardpanel.py index 06e8fbd..286a06e 100644 --- a/configtool/boardpanel.py +++ b/configtool/boardpanel.py @@ -108,11 +108,11 @@ class BoardPanel(wx.Panel): def getCPUInfo(self): vF_CPU = None if 'F_CPU' in self.cfgValues.keys(): - vF_CPU = self.cfgValues['F_CPU'] + vF_CPU = self.cfgValues['F_CPU'][0] vCPU = None if 'CPU' in self.cfgValues.keys(): - vCPU = self.cfgValues['CPU'] + vCPU = self.cfgValues['CPU'][0] return vF_CPU, vCPU