From 685da743abb5ea6c7b93683d3288de6f1528eab9 Mon Sep 17 00:00:00 2001 From: Hoffelhas Date: Thu, 12 Jan 2023 21:04:49 +0100 Subject: [PATCH] Fix found for updating the due task date, which keeps the recurring string intact --- autodoist.py | 2 +- metadata.sqlite | Bin 0 -> 20480 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 metadata.sqlite diff --git a/autodoist.py b/autodoist.py index 1c1b373..5584518 100644 --- a/autodoist.py +++ b/autodoist.py @@ -767,7 +767,7 @@ def run_recurring_lists_logic(args, api,connection, task, task_items, task_items today_str = t.strftime("%Y-%m-%d") # Update due-date to today - api.update_task(task_id=task.id, due_date=today_str) #TODO: Apparently this breaks the reccuring string... + api.update_task(task_id=task.id, due_date=today_str, due_string=task.due.string) #TODO: Apparently this breaks the reccuring string... logging.info("Update date on task: '%s'" % (task.content)) # Save the new date for reference us diff --git a/metadata.sqlite b/metadata.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..cc84a2a81c4b1ecfd2ea2a5687e3da83a4962c1a GIT binary patch literal 20480 zcmeI)Pe>F|90%|>JG<_#`rb1whaz=6M2Z@^5(GiD$&j07rW>?`ER#;*|Iu9ug(%$) zd59>elMr3XLqUh=5Ojh+U>_LA}Q50#eFRh;$G17W!IA#9|wDoAwxTeOV zhdVXZ9#ZRyRnZ0q)L2(sJEHZd-952m(Vm3bp(WJl$@uYDmsoX7>xwtpGp$ugce-aV zJ#89lTsxJUXzG*3SUUOJ=)jbb9MHv0raN&mnbyxar?<~hKTGAHQdK3*j@lKZjQ;fC z_*lw0`U~oCMmJnaZsEFWoN?>Yv)9w@D^eO7q(t^=CPu_vax!I1Oc`VSMyfEB3$Lv( zSvRJS8jWIQ{cO3Et?<0Pr#U%3B#KNqM_<7%&gh0K%q?73p);QUa({4*`gI3u`whdqx!2A)fyicmJ#W3BSXy@M%88PqVwcgYV}Jyo^ii zJNv}mvRmviyTAs-bTkM+00Izz00bZa0SG_<0ucCr1r#M{y)UjdM5N2(@7g2Hk=CZ> zmZp}7Qt3%7FMAT(Jc$Rl-2|(!5}b&wG8bPqnylE3XLczj-D)q)<#+HJ!mT&e<<3mY zz1dp2#S<>Qp=J4SP7fz2_lCWcdBdY()6(3|8Ah#C_M&DQgC;BW#Pv^2R^o{pk|qu3 zx5`ZKuBIV3>}!kBpc}rp{zWOWLklnS$hexPXjKAkV!pP