diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-02-26 23:20:40 +0100 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-02-26 23:20:40 +0100 |
commit | 4cb1e9d8130874d30bc6081afe5ad80eb728211c (patch) | |
tree | 88857022511dd360a93a8fc8751d9e538b8f0b0f | |
parent | Add argument --no-due-date (diff) | |
download | todoist-4cb1e9d8130874d30bc6081afe5ad80eb728211c.tar.xz |
Add some comments for better orientation in code
-rwxr-xr-x | todoist | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |