Correctif nom monnaie
This commit is contained in:
parent
04ae81b1b3
commit
aae82d3ecc
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -55,7 +55,7 @@ def get_balance(account):
|
|||
|
||||
|
||||
def get_value(amount):
|
||||
if(NETWORK == "doge"):
|
||||
if(NETWORK == "DOGE"):
|
||||
with urllib.request.urlopen("https://api.coinmarketcap.com/v1/ticker" +
|
||||
"/dogecoin/?convert=EUR") as url:
|
||||
data = json.loads(url.read().decode())
|
||||
|
|
Loading…
Add table
Reference in a new issue