2
0
mirror of https://github.com/mhinz/neovim-remote synced 2024-11-11 13:10:34 +00:00

Ignore only invalid addresses

This commit is contained in:
Marco Hinz 2017-08-02 11:52:11 +02:00
parent a85aa94321
commit 13808fd5ec
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -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):