Skip to content

Commit

Permalink
Station.isTrading is supposed to be a property
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Mar 12, 2015
1 parent 35c0ebb commit 72e207a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ def distFromStar(self, addSuffix=False):
return '{:n}K'.format(int(ls / 1000))+suffix
return '{:.2f}ly'.format(ls / (365*24*60*60))

@property
def isTrading(self):
"""
True if the station is thought to be trading.
Expand Down

0 comments on commit 72e207a

Please sign in to comment.