mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
fix flake8
This commit is contained in:
parent
ff08df043a
commit
3a73c26e6d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class CurrencyConverter(object, metaclass=Singleton):
|
|||
def get_rates(self):
|
||||
try:
|
||||
rates = requests.get(self.api_url).json()["rates"]
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
warnings.warn(
|
||||
f"Call to {self.api_url} failed: {traceback.format_exc(limit=0).strip()}"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue