From 06e0054bb5efeae6df31f53877cf50ad83055c92 Mon Sep 17 00:00:00 2001 From: antazoey Date: Tue, 18 Jul 2023 22:06:56 -0500 Subject: [PATCH] fix: regression [APE-1206] (#67) --- ape_foundry/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ape_foundry/provider.py b/ape_foundry/provider.py index b37570d..72c0b0b 100644 --- a/ape_foundry/provider.py +++ b/ape_foundry/provider.py @@ -418,7 +418,7 @@ def _start(self): # Start local process self.start() - else: + elif not self.is_connected: raise FoundryProviderError(f"Failed to connect to Anvil node at '{self._clean_uri}'.") def disconnect(self):