Skip to content

Commit 3efd768

Browse files
committed
use baseId
1 parent 90e2afd commit 3efd768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frames/bid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def checkQueue(self):
327327
self.auctionStatus.update_status(msg[0], time.strftime('%Y-%m-%d %H:%M:%S'), msg[0].currentBid, tag='lost')
328328
elif (msg[1] == EventType.BIDWON or msg[1] == EventType.BIN):
329329
self.auctionStatus.update_status(msg[0], time.strftime('%Y-%m-%d %H:%M:%S'), msg[0].currentBid, tag='won')
330-
defId = str(abs(msg[0].resourceId + 0x80000000))
330+
defId = str(self.controller.api.baseId(msg[0].resourceId))
331331
self.tree.set(defId, 'won', int(self.tree.set(defId, 'won'))+1)
332332
elif msg[1] == EventType.SELLING:
333333
self.auctionStatus.update_status(msg[0], time.strftime('%Y-%m-%d %H:%M:%S'), msg[0].currentBid, tag='selling')

0 commit comments

Comments
 (0)