Remove '.' character before notes
This commit is contained in:
parent
3eb5a526d1
commit
a83d680c72
1 changed files with 2 additions and 2 deletions
4
dump.py
4
dump.py
|
|
@ -73,7 +73,7 @@ def make_recursive_formatter(formatter):
|
||||||
|
|
||||||
class TodayFormatter:
|
class TodayFormatter:
|
||||||
def node(self, node, notes):
|
def node(self, node, notes):
|
||||||
return f"{node['title']}{'' if notes == '' else f'. {notes}'}"
|
return f"{node['title']}{'' if notes == '' else f' {notes}'}"
|
||||||
|
|
||||||
def single(self, subtext):
|
def single(self, subtext):
|
||||||
return f" > {subtext}"
|
return f" > {subtext}"
|
||||||
|
|
@ -84,7 +84,7 @@ class TodayFormatter:
|
||||||
|
|
||||||
class LogbookFormatter:
|
class LogbookFormatter:
|
||||||
def node(self, node, notes):
|
def node(self, node, notes):
|
||||||
node_text = f"{node['title']}{'' if notes == '' or node['status'] == 'canceled' else f'. {notes}'}"
|
node_text = f"{node['title']}{'' if notes == '' or node['status'] == 'canceled' else f' {notes}'}"
|
||||||
if node['status'] == 'completed':
|
if node['status'] == 'completed':
|
||||||
node_text = f":white_check_mark: {node_text}"
|
node_text = f":white_check_mark: {node_text}"
|
||||||
elif node['status'] == 'canceled':
|
elif node['status'] == 'canceled':
|
||||||
|
|
|
||||||
Reference in a new issue