diff --git a/bot/coins.py b/bot/coins.py index b0148ce..e1a0df8 100644 --- a/bot/coins.py +++ b/bot/coins.py @@ -61,8 +61,9 @@ class Coins(Plugin): data = get_data(currency) if not data and currency != 'usd': data = get_data('usd') + currency = 'usd' if not data: - return '\x02[{}]\x02 No data received for currency {}'.format(crypto, currency) + return '\x02[{}]\x02 No data received'.format(crypto) to_currency = self.CURRENCIES[currency]