Skip to content

Commit

Permalink
Ok, bestPrice was a lousy name, bestSale is better.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Aug 22, 2014
1 parent b89c52d commit 8f0a19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def avgPrice(*args):
, "{:<30} {:9.0f}"
)

def bestPrice(*args):
def bestSale(*args):
whereClause = ' OR '.join(["i.item LIKE '%%%s%%'" % item for item in args])
sql('SELECT i.item & \' @ \' & s.system & \'/\' & s.station, p.sell_cr'
' FROM ((Items AS i'
Expand Down

0 comments on commit 8f0a19c

Please sign in to comment.