fix non-numeric progress display

This commit is contained in:
Your Name 2024-06-16 00:22:17 -04:00 committed by Henri Dickson
parent a4531dbb9c
commit baa51d79db

View file

@ -86,7 +86,7 @@ class Note(Content):
return str(self.progress_value)
if _number.match(self.progress_value):
return tpl.format(value=self.progress_value)
return self.progress_type.display + ": " + self.progress_value
return Note.ProgressType(self.progress_type).label + ": " + self.progress_value
@property
def ap_object(self):