From 2075cf84f9472e28f3229351c85cb1086dd713c1 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 17 Mar 2015 23:22:01 +0100 Subject: [PATCH] TaskWarrior: Do not expand data_location twice --- tasklib/task.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 23f9277..e448b04 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -853,8 +853,9 @@ class TaskWarrior(object): if create and not os.path.exists(data_location): os.makedirs(data_location) + self.config = { - 'data.location': os.path.expanduser(data_location), + 'data.location': data_location, 'confirmation': 'no', 'dependency.confirmation': 'no', # See TW-1483 or taskrc man page 'recurrence.confirmation': 'no', # Necessary for modifying R tasks -- 2.39.2