Skip to content

Commit 4f325ab

Browse files
authored
Fix comparison operator in completion engine factory
1 parent 722fb35 commit 4f325ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capsul/attributes/completion_engine_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_completion_engine(self, process, name=None):
4040
if hasattr(process, 'completion_engine'):
4141
ce = process.completion_engine
4242
# just in case the process has been changed in the CE
43-
if ce and ce.process is not process:
43+
if ce and ce.process != process:
4444
ce.process = weak_proxy(process, ce._clear_node)
4545
return ce
4646

0 commit comments

Comments
 (0)