From 8743941b0f81101542f1dbf6f711db86b6ddae8c Mon Sep 17 00:00:00 2001 From: Jeremy Auguste <jeremy.auguste@lis-lab.fr> Date: Mon, 26 Mar 2018 14:35:10 +0200 Subject: [PATCH] Trying to fix encoding issue... --- oargen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oargen.py b/oargen.py index 74ab3e5..54d7dcb 100755 --- a/oargen.py +++ b/oargen.py @@ -102,7 +102,7 @@ def run_oarsub(command, print_cmd=False, fake_run=False, return_output=False): if not return_output: subprocess.call(command) return None - return subprocess.check_output(command) + return subprocess.check_output(command).decode("utf8") def main(): -- GitLab