Remove spurious space in Entries without Todo in OrgNode Entry Repr

This commit is contained in:
Debanjum Singh Solanky 2022-08-10 13:48:44 +03:00
parent a02d9db457
commit fd31d339c1

View file

@ -370,7 +370,9 @@ class Orgnode(object):
n = ''
for _ in range(0, self.level):
n = n + '*'
n = n + ' ' + self.todo + ' '
n = n + ' '
if self.todo:
n = n + self.todo + ' '
if self.prty:
n = n + '[#' + self.prty + '] '
n = n + self.headline