sort currencies in currencies.json

This commit is contained in:
ThomasV 2017-07-08 14:22:21 +02:00
parent 4847fe5f41
commit 321adf600a
2 changed files with 548 additions and 518 deletions

File diff suppressed because it is too large Load Diff

View File

@ -84,7 +84,7 @@ class ExchangeBase(PrintError):
def get_currencies(self):
rates = self.get_rates('')
return [str(a) for (a, b) in rates.iteritems() if b is not None]
return sorted([str(a) for (a, b) in rates.iteritems() if b is not None and len(a)==3])
class BitcoinAverage(ExchangeBase):