diff --git a/commands.py b/commands.py index 4a2907b..9562351 100644 --- a/commands.py +++ b/commands.py @@ -215,7 +215,12 @@ class Commands(object): def convert(self, expression, unit=None): c = Converter() - c.update_currencies(*self.rates.query()) + try: + base, rates = self.rates.query() + except ExchangeRatesError: + pass + else: + c.update_currencies(base, rates) try: return c.convert(expression, unit) except ConverterError as e: