From 06791bf085285d0e85a561abba733da06e0b2957 Mon Sep 17 00:00:00 2001 From: Jacob Mims <122570226+jtmims@users.noreply.github.com> Date: Mon, 20 May 2024 12:07:39 -0500 Subject: [PATCH] fix conditional in datelabel.py (#567) --- src/util/datelabel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/datelabel.py b/src/util/datelabel.py index 219ddcb68..e835ab604 100644 --- a/src/util/datelabel.py +++ b/src/util/datelabel.py @@ -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)