From 885bad2fa2d22fccc179cb699da65c96da7499e0 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Fri, 25 Nov 2022 22:38:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20[todoist2org]=20Display=20warnin?= =?UTF-8?q?g=20about=20missing=20recurrence=20information?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- todoist2org/todoist2org.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/todoist2org/todoist2org.py b/todoist2org/todoist2org.py index f82f3ab..072c9a8 100644 --- a/todoist2org/todoist2org.py +++ b/todoist2org/todoist2org.py @@ -199,6 +199,16 @@ def parse_projects(): parent_project_name = parse_project(project, parent_project_name) +def print_warning(): + """Print warning about missing recurrences.""" + print( + "Please keep in mind that this script does not support recurring " + + "items and will only schedule them for next occurence. " + + "If a task is recurring then the description will include a note " + + "'(recurring)'." + ) + + def main(): """Run the program.""" load_dotenv() @@ -207,6 +217,7 @@ def main(): create_output_dir() parse_projects() print_stats() + print_warning() if __name__ == "__main__":