mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
VimwikiTask: Convert None priority to None
This commit is contained in:
parent
2b4d582e58
commit
2aadd840b2
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from tasklib.task import Task, SerializingObject
|
|||
|
||||
|
||||
def convert_priority_from_tw_format(priority):
|
||||
return {None: 0, 'L': 1, 'M': 2, 'H': 3}[priority]
|
||||
return {None: None, 'L': 1, 'M': 2, 'H': 3}[priority]
|
||||
|
||||
|
||||
def convert_priority_to_tw_format(priority):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue