Skip to content

Commit

Permalink
fix relist bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterjm committed Dec 3, 2015
1 parent 5d037f8 commit 5d12ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bid.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def bid(q, api, playerList, settings):
if not settings['relistAll'] or relistFailed:
q.put('%s Manually re-listing %d players.\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), expired))
for i in tradepile:
baseId = str(abs(item['resourceId'] + 0x80000000))
baseId = str(abs(i['resourceId'] + 0x80000000))
if baseId in bidDetails:
sell = i['startingBid'] if settings['relistAll'] else bidDetails[baseId]['sell']
binPrice = i['buyNowPrice'] if settings['relistAll'] else bidDetails[baseId]['binPrice']
Expand Down

0 comments on commit 5d12ded

Please sign in to comment.