configtool.py: don't try to process an unreadable config.h.

This commit is contained in:
jbernardis 2015-05-06 19:37:51 -04:00 committed by Markus Hitter
parent 50cb7bfb79
commit 5006eecd43
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class ConfigFrame(wx.Frame):
cfgBuffer = list(open(path))
except:
self.message("Unable to process config file %s." % fn, "File error")
return
return None, None
for ln in cfgBuffer:
if not ln.lstrip().startswith("#include"):