🚸 [todoist2org] Display warning about missing recurrence information
This commit is contained in:
parent
070b0fea01
commit
885bad2fa2
1 changed files with 11 additions and 0 deletions
|
@ -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__":
|
||||||
|
|
Loading…
Reference in a new issue