Skip to content

Commit

Permalink
fix Project(force=True)
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Sep 21, 2023
1 parent 9104287 commit 1255077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zntrack/project/zntrack_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __exit__(self, *args, **kwargs):
if node._external_:
continue

if node.name in node_names:
if node.name in node_names and not self.force:
raise exceptions.DuplicateNodeNameError(node)

node_names.append(node.name)
Expand Down

0 comments on commit 1255077

Please sign in to comment.