From 13808fd5ecee6b55ec7c51c4349b7df821189e8f Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 2 Aug 2017 11:52:11 +0200 Subject: [PATCH] Ignore only invalid addresses --- nvr/nvr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvr/nvr.py b/nvr/nvr.py index b7998bb..b86b504 100644 --- a/nvr/nvr.py +++ b/nvr/nvr.py @@ -49,7 +49,7 @@ class Neovim(): self.server = attach('tcp', address=ip, port=int(port)) else: self.server = attach('socket', path=self.address) - except: + except FileNotFoundError: pass def is_attached(self, silent=False):