This commit is contained in:
Matthias
2021-05-22 17:15:35 +02:00
parent 0693458507
commit 765c824bfc
2 changed files with 4 additions and 4 deletions

View File

@@ -3,10 +3,10 @@ Module that define classes to convert Crypto-currency to FIAT
e.g BTC to USD
"""
import logging
import datetime
import logging
from typing import Dict
from cachetools.ttl import TTLCache
from pycoingecko import CoinGeckoAPI
from requests.exceptions import RequestException
@@ -27,7 +27,7 @@ class CryptoToFiatConverter:
_coingekko: CoinGeckoAPI = None
_cryptomap: Dict = {}
_backoff: int = 0
_backoff: float = 0.0
def __new__(cls):
"""