Skip to content

Commit 5d12ded

Browse files
committed
fix relist bug
1 parent 5d037f8 commit 5d12ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/bid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def bid(q, api, playerList, settings):
271271
if not settings['relistAll'] or relistFailed:
272272
q.put('%s Manually re-listing %d players.\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), expired))
273273
for i in tradepile:
274-
baseId = str(abs(item['resourceId'] + 0x80000000))
274+
baseId = str(abs(i['resourceId'] + 0x80000000))
275275
if baseId in bidDetails:
276276
sell = i['startingBid'] if settings['relistAll'] else bidDetails[baseId]['sell']
277277
binPrice = i['buyNowPrice'] if settings['relistAll'] else bidDetails[baseId]['binPrice']

0 commit comments

Comments
 (0)