jrupac / tasky

A command-line desktop client for Google Tasks.
GNU General Public License v3.0
114 stars 33 forks source link

How to add children tasks #29

Closed muralikodali closed 7 years ago

muralikodali commented 7 years ago

$ tasky -a --tasklist 1 --title "Pay my phone bill" --parent 1

above command is giving output:

Traceback (most recent call last): File "/home/murali/bin/tasky", line 536, in main(sys.argv) File "/home/murali/bin/tasky", line 512, in main tasky.HandleInputArgs() File "/home/murali/bin/tasky", line 402, in HandleInputArgs self.AddTask(task) File "/home/murali/bin/tasky", line 171, in AddTask parent = tasklist.keys()[task['parent']] TypeError: list indices must be integers, not str

jrupac commented 7 years ago

Thanks - this was a bug. Should be fixed now.