Skip to content

Commit

Permalink
fix imported workflows end service position
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Nov 7, 2019
1 parent bf602c5 commit b5dc207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eNMS/services/workflow/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def __init__(self, **kwargs):
end = fetch("service", scoped_name="End")
self.services.extend([start, end])
super().__init__(**kwargs)
end.positions[self.name] = (500, 0)
if self.name not in end.positions:
end.positions[self.name] = (500, 0)

def set_name(self, name=None):
old_name = self.name
Expand Down

0 comments on commit b5dc207

Please sign in to comment.