From 4cb1e9d8130874d30bc6081afe5ad80eb728211c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Fri, 26 Feb 2016 23:20:40 +0100 Subject: Add some comments for better orientation in code --- todoist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/todoist b/todoist index 0be9244..26c7d3a 100755 --- a/todoist +++ b/todoist @@ -115,9 +115,11 @@ def main(): ## Prepare arguments kwargs = {} + ## Set date if not args.no_due_date: kwargs["date_string"] = args.date + ## Set project if args.project: proj = args.project.lower() if proj in projects: @@ -125,9 +127,11 @@ def main(): else: print("WARNING: Unknown project. Task will be stored in Inbox", file=sys.stderr) + ## Set priority/severity if args.severity: kwargs["priority"] = args.severity + ## Assign to person if args.assign: name = args.assign.lower() aid = None -- cgit v1.2.3