bug is caused by: === dleft = task.get_days_left() if not dleft: return something [..] if dleft == 0: return _("Today")
=== if dleft is 0, not dleft is 1.
bug is caused by: days_left( )
return something
return _("Today")
===
dleft = task.get_
if not dleft:
[..]
if dleft == 0:
===
if dleft is 0, not dleft is 1.