Skip to content

Commit

Permalink
Merge pull request #72 from zenotech/develop
Browse files Browse the repository at this point in the history
fix to wrapped check output
  • Loading branch information
jappa authored Jan 27, 2020
2 parents 5df5952 + 96e39f6 commit c11dde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mycluster/mycluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
job_db = None


def check_output(**kwargs):
def check_output(*args, **kwargs):
"""
check_output wrapper that decodes to a str instead of bytes
"""
from subprocess import check_output as sp_check_output
return sp_check_output.decode('UTF-8')
return sp_check_output(*args, **kwargs).decode('UTF-8')


def get_data(filename):
Expand Down

0 comments on commit c11dde8

Please sign in to comment.