sort currencies in currencies.json
This commit is contained in:
parent
4847fe5f41
commit
321adf600a
1064
lib/currencies.json
1064
lib/currencies.json
File diff suppressed because it is too large
Load Diff
|
@ -84,7 +84,7 @@ class ExchangeBase(PrintError):
|
||||||
|
|
||||||
def get_currencies(self):
|
def get_currencies(self):
|
||||||
rates = self.get_rates('')
|
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):
|
class BitcoinAverage(ExchangeBase):
|
||||||
|
|
Loading…
Reference in New Issue