"webconfig.py: Don't allow NoneType as buffer, fallback to bytes.
Fixes TypeErrors when using bindings tab"
This commit is contained in:
parent
2de914d8c3
commit
27fa0ea9d7
@ -287,7 +287,7 @@ class BindingParser:
|
||||
def set_buffer(self, buffer):
|
||||
""" Sets code to parse """
|
||||
|
||||
self.buffer = buffer
|
||||
self.buffer = buffer or b''
|
||||
self.index = 0
|
||||
|
||||
def get_char(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user