Compare commits
2 commits
f36dc353df
...
381c2642d6
Author | SHA1 | Date | |
---|---|---|---|
381c2642d6 | |||
0e34ead855 |
1 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@ class YahooAuctionsItem:
|
|||
self.original_name = None
|
||||
self.favourite = None
|
||||
self.end_date = None
|
||||
self.bids = 0
|
||||
|
||||
if url == None and from_json != None and id != None:
|
||||
self.id = id
|
||||
|
@ -106,7 +107,7 @@ class YahooAuctionsItem:
|
|||
self.updating = False
|
||||
|
||||
def price_jpy(self):
|
||||
return f"¥{self.price:.2f}"
|
||||
return f"¥{self.price:.0f}"
|
||||
|
||||
def price_aud(self, rate = 75.0):
|
||||
return f"${self.price / rate:.2f}"
|
||||
|
|
Loading…
Reference in a new issue