Skip to content

Commit 8bf2f7b

Browse files
Merge pull request #26 from mikez/main
improve docs of `things.today`
2 parents 0daaf3c + 0a34b3b commit 8bf2f7b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

things/api.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,16 +359,17 @@ def inbox(**kwargs):
359359
def today(**kwargs):
360360
"""
361361
Note: This might not produce desired results if the Things app hasn't
362-
been opened yet today. In general, you can assume that whatever state
363-
the Things app was in when you last opened it, that's the state
364-
reflected here by the API.
362+
been opened yet today and the yellow "OK" button clicked for new tasks.
363+
In general, you can assume that whatever state the Things app was in
364+
when you last opened it, that's the state reflected here by the API.
365365
"""
366366
database = pop_database(kwargs)
367367
if not database.was_modified_today():
368368
print(
369369
"[NOTE] The results reflect the state of the Things app "
370370
"when it was last run. If the results seem out of date, "
371-
"then run the Things app to update the database.",
371+
"then run the Things app and click the yellow 'OK' button "
372+
"to update Today's to-dos and projects.",
372373
file=sys.stderr,
373374
)
374375
return tasks(

0 commit comments

Comments
 (0)