lazeroffmichael / ticktick-py

Unofficial TickTick API

Home Page:https://lazeroffmichael.github.io/ticktick-py/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to uncheck a task?

Vermoot opened this issue · comments

I'm of course using tt.task.complete(task) to complete a task, but unless I'm missing something there's no way to uncheck a task?

I'm guessing my best course of action is to change the task's status property back to 0 and delete its completedTime, completedUserId and commentCount properties? (Those are the only differences I can see between a completed and an uncompleted task. Is commentCount related at all?)

Thanks!

Hi,

I feel like there must be an easier way that TickTick handles this that I haven't found yet. I am going to keep this issue open as being able to uncheck the task through a method would be helpful.