mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
"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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue