🚸 [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
1 changed files with 11 additions and 0 deletions

View File

@ -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__":