Python 3 compatibility

This commit is contained in:
Jerome Petazzoni
2017-12-21 04:33:35 +01:00
parent afe7b8523c
commit bc2eb53bb2

View File

@@ -199,7 +199,7 @@ def send_keys(data):
subprocess.check_call(["tmux", "send-keys", data])
def capture_pane():
return subprocess.check_output(["tmux", "capture-pane", "-p"])
return subprocess.check_output(["tmux", "capture-pane", "-p"]).decode('utf-8')
setup_tmux_and_ssh()