Fix #192
If price is not valid, cancel it out. This will force an update.
This commit is contained in:
@@ -677,6 +677,10 @@ class Market():
|
||||
|
||||
self.priceCache[typeID] = price
|
||||
|
||||
if not price.isValid:
|
||||
# if the price has expired
|
||||
price.price = None
|
||||
|
||||
return price
|
||||
|
||||
def getPricesNow(self, typeIDs):
|
||||
|
||||
Reference in New Issue
Block a user