From: Tomas Babej Date: Sun, 8 Jan 2017 02:06:46 +0000 (+0100) Subject: backend: Allow single character config values X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/0e45c41ab8685abd3d1954912d8bd6f8fdf6637a backend: Allow single character config values --- 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)