🚸 [todoist2org] Display warning about missing recurrence information

This commit is contained in:
Marcel Kapfer 2022-11-25 22:38:29 +01:00
parent 070b0fea01
commit 885bad2fa2
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -199,6 +199,16 @@ def parse_projects():
parent_project_name = parse_project(project, parent_project_name) 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(): def main():
"""Run the program.""" """Run the program."""
load_dotenv() load_dotenv()
@ -207,6 +217,7 @@ def main():
create_output_dir() create_output_dir()
parse_projects() parse_projects()
print_stats() print_stats()
print_warning()
if __name__ == "__main__": if __name__ == "__main__":