diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-09 20:19:04 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-09 20:19:04 -0800 |
commit | 77dbaf3aef010fd48b443af97861b74f1b728229 (patch) | |
tree | 093428205dfdc398ea024f1e6cfe0887d9922a3c /share | |
parent | 9b9ee338c123527d5f1f244e54876fe977bbeb1a (diff) |
Fix for Python out-of-range exception when accessing Bindings tab
Diffstat (limited to 'share')
-rwxr-xr-x | share/tools/web_config/webconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 52d9990b..3eb110bb 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -291,7 +291,8 @@ class BindingParser: def get_char(self): """ Gets next character from buffer """ - + if self.index >= len(self.buffer): + return '\0' c = self.buffer[self.index] self.index += 1 return c |