aesophor / py-todo

📋 Lightweight reminder / todo-list in cli
https://www.reddit.com/r/unixporn/comments/9qy35q/oc_pytodo_a_lightweight_reminder_in_cli/
MIT License
108 stars 22 forks source link

Add some useful comments, and reformatted some code #12

Closed christophergeiger3 closed 6 years ago

christophergeiger3 commented 6 years ago

Moved the location and name variable definitions to the top of the file. Annotated the add_item, remove_item, list_item functions. Dropped an else statement (originally line 33, in the class ToDo, after if self.exp_date is None) which is never invoked.

aesophor commented 6 years ago

Thanks for cleaning up my code!! If there's any way I could further improve it, please let me know :tada: