We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7794c70 commit 1e95114Copy full SHA for 1e95114
jupyter_openvscodeserver_proxy/__init__.py
@@ -62,9 +62,8 @@ def _support_args(args):
62
def _is_version_supported(major_min, minor_min):
63
try:
64
ret = subprocess.check_output([_get_executable('openvscode-server'), '--version'])
65
- help_output = ret.decode()
+ version_line = ret.decode().splitlines()[0]
66
67
- version_line = result.stdout.splitlines()[0]
68
match = re.match(r"(\d+)\.(\d+)", version_line)
69
if not match:
70
raise ValueError("Could not extract version number")
0 commit comments