From: Tomas Babej Date: Tue, 17 Mar 2015 22:22:01 +0000 (+0100) Subject: TaskWarrior: Do not expand data_location twice X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/2075cf84f9472e28f3229351c85cb1086dd713c1?ds=inline TaskWarrior: Do not expand data_location twice --- 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