diff --git a/tradedb.py b/tradedb.py index 29dd8f4f..18aeca13 100644 --- a/tradedb.py +++ b/tradedb.py @@ -385,8 +385,8 @@ def isTrading(self): @property def itemDataAgeStr(self): """ Returns the age in days of item data if present, else "-". """ - if self.itemCount and self.age: - return "{:7.2f}".format(self.age) + if self.itemCount and self.dataAge: + return "{:7.2f}".format(self.dataAge) return "-" def str(self):