configtool.py: don't try to process an unreadable config.h.
This commit is contained in:
parent
50cb7bfb79
commit
5006eecd43
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Reference in New Issue