Skip to content

Commit

Permalink
fix conditional in datelabel.py (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmims authored May 20, 2024
1 parent 2ef2640 commit 06791bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/datelabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ def format(self):
if self.unit == 'fx':
return 'fx'
else:
if self.quantity == '1':
if self.quantity == 1:
return self.unit
else:
return "{}{}".format(self.quantity, self.unit)
Expand Down

0 comments on commit 06791bf

Please sign in to comment.