Skip to content

Commit

Permalink
Fix issue in utilities.get_executable_version when python3 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
yupenghe committed Jan 4, 2018
1 parent 618e9cd commit c508311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions methylpy/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
def get_executable_version(exec_name):
try:
out = subprocess.check_output(shlex.split(exec_name+" --version"))
out = out.decode("utf-8")
except:
print_error("Failed to run %s\n" %(exec_name))
first_line = out.split("\n")[0]
Expand Down

0 comments on commit c508311

Please sign in to comment.