Don't inherit from object

This commit is contained in:
hroff-1902
2019-09-12 04:39:52 +03:00
parent f987e6e0f9
commit 849d694c27
12 changed files with 13 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ from freqtrade.constants import SUPPORTED_FIAT
logger = logging.getLogger(__name__)
class CryptoFiat(object):
class CryptoFiat:
"""
Object to describe what is the price of Crypto-currency in a FIAT
"""
@@ -60,7 +60,7 @@ class CryptoFiat(object):
return self._expiration - time.time() <= 0
class CryptoToFiatConverter(object):
class CryptoToFiatConverter:
"""
Main class to initiate Crypto to FIAT.
This object contains a list of pair Crypto, FIAT