Merge pull request #936 from dbungert/keyerror-updates

fix keyerror: updates
This commit is contained in:
Michael Hudson-Doyle 2021-04-13 11:54:36 +12:00 committed by GitHub
commit 32ed9d146c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ class SubiquityModel:
} }
def configured(self, model_name): def configured(self, model_name):
if model_name not in ALL_MODEL_NAMES:
return
self._events[model_name].set() self._events[model_name].set()
if model_name in INSTALL_MODEL_NAMES: if model_name in INSTALL_MODEL_NAMES:
unconfigured = { unconfigured = {