Skip to content

Commit 0519ec8

Browse files
ferozcogatesn
authored andcommitted
fix tcp (#275)
1 parent 6b37c8a commit 0519ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyls/python_ls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def handle(self):
3232

3333

3434
def start_tcp_lang_server(bind_addr, port, handler_class):
35-
if not isinstance(handler_class, PythonLanguageServer):
35+
if not issubclass(handler_class, PythonLanguageServer):
3636
raise ValueError('Handler class must be an instance of PythonLanguageServer')
3737

3838
# Construct a custom wrapper class around the user's handler_class

0 commit comments

Comments
 (0)