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.
This commit is contained in:
Markus Hitter 2015-08-12 14:18:40 +02:00
parent cf3b94b980
commit 43626b2ba2
1 changed files with 2 additions and 2 deletions

View File

@ -108,11 +108,11 @@ class BoardPanel(wx.Panel):
def getCPUInfo(self): def getCPUInfo(self):
vF_CPU = None vF_CPU = None
if 'F_CPU' in self.cfgValues.keys(): if 'F_CPU' in self.cfgValues.keys():
vF_CPU = self.cfgValues['F_CPU'] vF_CPU = self.cfgValues['F_CPU'][0]
vCPU = None vCPU = None
if 'CPU' in self.cfgValues.keys(): if 'CPU' in self.cfgValues.keys():
vCPU = self.cfgValues['CPU'] vCPU = self.cfgValues['CPU'][0]
return vF_CPU, vCPU return vF_CPU, vCPU