Skip to content

Commit

Permalink
Fix age -> dataAge
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed May 4, 2015
1 parent 6a7edbf commit 5629c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5629c8b

Please sign in to comment.