Compare commits

..

No commits in common. "381c2642d6e11b4ec337f9040747dbd0aef9c971" and "f36dc353df75a695de634e6e2e5f6a59f810470e" have entirely different histories.

View file

@ -60,7 +60,6 @@ class YahooAuctionsItem:
self.original_name = None self.original_name = None
self.favourite = None self.favourite = None
self.end_date = None self.end_date = None
self.bids = 0
if url == None and from_json != None and id != None: if url == None and from_json != None and id != None:
self.id = id self.id = id
@ -107,7 +106,7 @@ class YahooAuctionsItem:
self.updating = False self.updating = False
def price_jpy(self): def price_jpy(self):
return f"¥{self.price:.0f}" return f"¥{self.price:.2f}"
def price_aud(self, rate = 75.0): def price_aud(self, rate = 75.0):
return f"${self.price / rate:.2f}" return f"${self.price / rate:.2f}"