Adder filter to auctionviewer to have lots

This commit is contained in:
Computerboer
2025-07-30 23:52:53 +02:00
committed by GitHub
parent 86921652e3
commit b0182c606d

View File

@@ -46,7 +46,9 @@ def getAuctionlocations(countrycode: Countrycode, clearcache:bool = False):
auctions = [*twkauctions, *ovmauctions, *apauctions]
#filters all auctions for this geonameid
auctions = list(filter(lambda a: a.numberoflots > 0 , auctions))
for auction in auctions:
auction.geonamelocation = getGeoLocationByCity(auction.city, countrycode)