diff options
Diffstat (limited to 'share/tools/web_config/webconfig.py')
-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 |