summaryrefslogtreecommitdiff
path: root/org.py
diff options
context:
space:
mode:
Diffstat (limited to 'org.py')
-rw-r--r--org.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.py b/org.py
index 1108d7e..dde53ae 100644
--- a/org.py
+++ b/org.py
@@ -18,14 +18,14 @@ class OrgData(NextCloudConnection):
today_hour = today.strftime("%H:%M")
return f"{today_ymd} {today_day} {today_hour}"
- def add_new_todo(self, description: str, outcome: str, extra: str) -> None:
+ def add_new_todo(self, keyword: str, description: str, outcome: str, extra: str) -> None:
self.client.download_file(ORG_CAPTURE_FILENAME, "./capture.org")
today = self._generate_today()
todo_template = f"""
-** TODO {description} :NEW::BOT:
+** {keyword.upper()} {description} :NEW::BOT:
Desired outcome: {outcome}
:LOGBOOK:
- Added: [{today}]