fix cache definition
This commit is contained in:
parent
2cc9a52259
commit
46a642c30c
|
@ -43,7 +43,8 @@ class BasePrompt(NestedCompleter):
|
||||||
self._toolbar = None
|
self._toolbar = None
|
||||||
self._key_bindings = None
|
self._key_bindings = None
|
||||||
self._subshells = {}
|
self._subshells = {}
|
||||||
self._cache = cache
|
self._cache = defaultdict(dict)
|
||||||
|
self._cache.update(**cache)
|
||||||
self._name = "Interactive Shell"
|
self._name = "Interactive Shell"
|
||||||
|
|
||||||
def _register_subshells(self):
|
def _register_subshells(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user