diff options
Diffstat (limited to 'isort/hooks.py')
-rw-r--r-- | isort/hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/hooks.py b/isort/hooks.py index 15b6d408..1073de94 100644 --- a/isort/hooks.py +++ b/isort/hooks.py @@ -45,7 +45,7 @@ def get_lines(command): :returns: list of whitespace-stripped lines output by command """ stdout = get_output(command) - return [line.strip().decode('utf-8') for line in stdout.splitlines()] + return [line.strip().decode() for line in stdout.splitlines()] def git_hook(strict=False): |