mirror of
https://github.com/Redume/Shirino.git
synced 2025-04-02 18:57:34 +03:00
Compare commits
2 commits
45307caee5
...
e54e70ed49
Author | SHA1 | Date | |
---|---|---|---|
e54e70ed49 | |||
7767474da0 |
1 changed files with 1 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue