Skip to content

Commit

Permalink
update black
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Feb 14, 2023
1 parent 8897da9 commit 1482106
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eNMS/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,9 @@ def migration_import(self, folder="migrations", **kwargs):
status = "Partial import (see logs)."
db.session.commit()
if kwargs.get("service_import", False):
main_workflow = [service for service in service_instances if not service.workflows][0]
main_workflow = [
service for service in service_instances if not service.workflows
][0]
main_workflow.recursive_update()
if not kwargs.get("skip_model_update"):
for model in ("user", "service", "network"):
Expand Down

0 comments on commit 1482106

Please sign in to comment.