Update loop.py

This commit is contained in:
Nuno Campos
2024-07-19 18:15:47 -07:00
committed by GitHub
parent f5390a4ee5
commit 375d9a45d9
+1 -1
View File
@@ -381,7 +381,7 @@ class SyncPregelLoop(PregelLoop, ContextManager):
if not self.is_nested:
# in outer graph, catch interrupt
del self.graph
return True and self.stack.__exit__(None, None, None)
return True or self.stack.__exit__(None, None, None)
# unwind stack
del self.graph