From 5006eecd43437eb640428dc7850b530988c92435 Mon Sep 17 00:00:00 2001 From: jbernardis Date: Wed, 6 May 2015 19:37:51 -0400 Subject: [PATCH] configtool.py: don't try to process an unreadable config.h. --- configtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configtool.py b/configtool.py index 4628284..eac380b 100755 --- a/configtool.py +++ b/configtool.py @@ -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"):