fix cache definition

This commit is contained in:
evilchili 2024-01-16 19:31:45 -08:00
parent 2cc9a52259
commit 46a642c30c

View File

@ -43,7 +43,8 @@ class BasePrompt(NestedCompleter):
self._toolbar = None
self._key_bindings = None
self._subshells = {}
self._cache = cache
self._cache = defaultdict(dict)
self._cache.update(**cache)
self._name = "Interactive Shell"
def _register_subshells(self):