Skip to content
Snippets Groups Projects
Commit 8743941b authored by Jeremy Auguste's avatar Jeremy Auguste
Browse files

Trying to fix encoding issue...

parent 596e4b1a
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ def run_oarsub(command, print_cmd=False, fake_run=False, return_output=False): ...@@ -102,7 +102,7 @@ def run_oarsub(command, print_cmd=False, fake_run=False, return_output=False):
if not return_output: if not return_output:
subprocess.call(command) subprocess.call(command)
return None return None
return subprocess.check_output(command) return subprocess.check_output(command).decode("utf8")
def main(): def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment