diff --git a/utils/convert.py b/utils/convert.py index 1193c65..a956efa 100644 --- a/utils/convert.py +++ b/utils/convert.py @@ -12,10 +12,6 @@ from utils.format_number import format_number config = yaml.safe_load(open('config.yaml')) -coinapi_len = len(config['coinapi_keys']) -coinapi_active = [0] - - class Converter: def __init__(self): self.amount: float = 1.0 @@ -63,7 +59,7 @@ class Converter: 'from_currency': self.from_currency, 'conv_currency': self.conv_currency, 'date': date, - 'conv_amount': self.conv_amount + 'conv_amount': self.amount }, timeout=3) data = res.json()