From 86f75f68899e0d86401d09f01d2ed2bc7abd8e9d Mon Sep 17 00:00:00 2001 From: Xing Shi Cai Date: Wed, 12 Oct 2022 19:26:24 +0800 Subject: [PATCH] Fix https://github.com/tools-life/taskwiki/issues/413 --- taskwiki/viewport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskwiki/viewport.py b/taskwiki/viewport.py index e9a12c8..e489856 100644 --- a/taskwiki/viewport.py +++ b/taskwiki/viewport.py @@ -96,7 +96,7 @@ class ViewPort(object): # Process syntactic sugar: Context expansion detected_contexts = [] for token in filter(lambda x: x.startswith('@'), taskfilter_args): - context_variable_name = 'context.{0}'.format(token[1:]) + context_variable_name = 'context.{0}.read'.format(token[1:]) context_definition = self.tw.config.get(context_variable_name) if context_definition: