X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/65a1431e753fccbbc735a58491b395070081dc8a..9bfb0acaeac5ebfc79ffdf18cc96857fade9a37e:/tasklib/task.py diff --git a/tasklib/task.py b/tasklib/task.py index b9103d1..dd90a28 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -912,7 +912,7 @@ class TaskWarrior(object): else: error_msg = stdout.strip() raise TaskWarriorException(error_msg) - return stdout.strip().split('\n') + return stdout.rstrip().split('\n') def enforce_recurrence(self): # Run arbitrary report command which will trigger generation