Skip to content

Commit

Permalink
Only average non-zero prices
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed May 2, 2015
1 parent d7a2692 commit 97f4a24
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 @@ -1852,6 +1852,7 @@ def getAverageSelling(self):
LEFT OUTER JOIN StationItem AS si ON (
i.item_id = si.item_id AND si.supply_price > 0
)
WHERE supply_price > 0
GROUP BY 1
""")
}
Expand Down

0 comments on commit 97f4a24

Please sign in to comment.