From 0e45c41ab8685abd3d1954912d8bd6f8fdf6637a Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 8 Jan 2017 03:06:46 +0100 Subject: [PATCH] backend: Allow single character config values --- tasklib/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/backends.py b/tasklib/backends.py index e6daace..1e1b8c4 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -251,7 +251,7 @@ class TaskWarrior(Backend): ) config = dict() - config_regex = re.compile(r'^(?P[^\s]+)\s+(?P[^\s].+$)') + config_regex = re.compile(r'^(?P[^\s]+)\s+(?P[^\s].*$)') for line in raw_output: match = config_regex.match(line) -- 2.39.5