Skip to content

Commit 1a07d34

Browse files
committed
always update card dictionary for auctions
1 parent 36f7255 commit 1a07d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frames/misc/auctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def get_view(self):
5858

5959
def add_auction(self, card, timestamp, currbid, index='end', tag=''):
6060
if not card.cardid in self.cards:
61-
self.cards[card.cardid] = card
6261
return self.tree.insert("", index, card.cardid, text=card.cardname, values=(timestamp, card.startingBid,
6362
currbid, card.buyNowPrice,
6463
card.expires), tags=(tag,))
@@ -76,6 +75,7 @@ def update_status(self, card, timestamp, currbid, tag=''):
7675
self.tree.item(card.cardid, text=options['text'], values=options['values'], tags=options['tags'])
7776
self.tree.see(card.cardid)
7877
self.tree.selection_set([card.cardid])
78+
self.cards[card.cardid] = card
7979

8080
def decreaseExpires(self):
8181
for cardid in self.cards:

0 commit comments

Comments
 (0)