1
0

kivy: use plugins

This commit is contained in:
ThomasV
2015-10-13 12:12:49 +02:00
parent c803a8ecab
commit a5e94ef0e8
12 changed files with 92 additions and 472 deletions

View File

@@ -423,6 +423,7 @@ class Plugin(BasePlugin, ThreadJob):
return "%s" % (self.ccy_amount_str(value, True))
return _("No data")
@hook
def historical_value_str(self, satoshis, d_t):
rate = self.exchange.historical_rate(self.ccy, d_t)
# Frequently there is no rate for today, until tomorrow :)