Skip to content

Commit

Permalink
fix printing str + bytes in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanly committed Feb 20, 2016
1 parent 320f382 commit 1cc86a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/jupyter-troubleshoot
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def subs(cmd):
"""
try:
stdout = subprocess.check_output(cmd)
return stdout
return stdout.decode('utf-8')
except subprocess.CalledProcessError:
return None

Expand Down

0 comments on commit 1cc86a1

Please sign in to comment.