fix non-numeric progress display
This commit is contained in:
parent
a4531dbb9c
commit
baa51d79db
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue