aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtodo5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo b/todo
index a533940..5673a1d 100755
--- a/todo
+++ b/todo
@@ -130,7 +130,10 @@ def main():
if 'url' in entry:
output += "\n URL: {}".format(entry['url'])
if 'context' in entry:
- output += "\n Contexts: {}".format(entry['context'])
+ context_line = '\n Context:'
+ for c in entry['context']:
+ context_line += ' {}'.format(c)
+ output += context_line
print(output)