Commit 31dffe5e authored by Berk Onat's avatar Berk Onat
Browse files

Fixed exception at subprocess call for tcl in

parent b0979eb3
......@@ -94,7 +94,7 @@ def check_tcl_version():
output = subprocess.check_output("echo \"puts \$tcl_version;exit 0\" | tclsh", shell=True)
val = float(output)
except (TypeError,ValueError):
except subprocess.CalledProcessError:
val = None
return val
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment