diff --git a/commands/upgrade/__init__.py b/commands/upgrade/__init__.py index 5826f458cb..0de7148ced 100644 --- a/commands/upgrade/__init__.py +++ b/commands/upgrade/__init__.py @@ -94,7 +94,8 @@ def upgrade(args, breadcrumbs): # Read the Actor Config and validate it against the schemas saved in the # configuration. - actor_config_schemas = repositories.get_config_schemas() + actor_config_schemas = tuple(actor.config_schemas for actor in repositories.actors) + actor_config_schemas = actor_config.normalize_schemas(actor_config_schemas) actor_config_path = cfg.get('actor_config', 'path') # Note: actor_config.load() stores the loaded actor config into a global # variable which can then be accessed by functions in that file. Is this