Don’t remove pending trades out from card count

This commit is contained in:
mez 2025-05-17 10:08:24 +01:00
parent 784b440a67
commit 4fe0a8a6d7
2 changed files with 525 additions and 236 deletions

View file

@ -1615,7 +1615,11 @@ def artshop():
print(shoplog)
def stats():
print("\nCollection size: " + str(len(colors.cardlist)) + " cards")
if colors.tradepend > 0:
print("\nCollection size: " + str(len(colors.cardlist) + colors.tradepend) + " cards (" + str(len(colors.cardlist)) + " + " + str(colors.tradepend) + " pending trade)")
else:
print("\nCollection size: " + str(len(colors.cardlist)) + " cards")
print("Level: " + colors.rank)
tradesize = 0
for card in colors.cardlist:
if card["priority"] == 4: