mirror of
https://github.com/vale981/wunderlist-to-org
synced 2025-03-04 16:51:39 -05:00
support tags in list title
This commit is contained in:
parent
974d4502c7
commit
71d579ad52
1 changed files with 6 additions and 2 deletions
|
@ -140,9 +140,13 @@ def convert_wunderlist(filename):
|
|||
|
||||
|
||||
def convert_wunderlist_list(writer, todo_list):
|
||||
title, tags = convert_wunderlist_title(todo_list["title"])
|
||||
|
||||
if todo_list["folder"]:
|
||||
tags.append(todo_list["folder"]["title"])
|
||||
|
||||
writer.emit_node_title(
|
||||
todo_list["title"],
|
||||
tags=[todo_list["folder"]["title"]] if todo_list["folder"] else None,
|
||||
title, tags=tags,
|
||||
)
|
||||
|
||||
with writer.new_level():
|
||||
|
|
Loading…
Add table
Reference in a new issue