diff --git a/tasklib/backends.py b/tasklib/backends.py index 0f9bf40..9ec92fb 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -149,7 +149,7 @@ def _get_version(self): self._get_task_command() + ['--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - stdout, stderr = [x.decode('utf-8') for x in p.communicate()] + stdout, stderr = [x.decode('utf-8', errors='ignore') for x in p.communicate()] return stdout.strip('\n') def _get_modified_task_fields_as_args(self, task):