Skip to content

Commit

Permalink
len() -1
Browse files Browse the repository at this point in the history
  • Loading branch information
freQniK committed Nov 6, 2023
1 parent cba7424 commit 9eaa4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coin_api/get_price.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class GetPriceAPI():


async def get_usd(self, coin):
N = random.randint(0,len(scrtxxs.COINSTATS_API_KEY))
N = random.randint(0,len(scrtxxs.COINSTATS_API_KEY)-1)
API_KEY = scrtxxs.COINSTATS_API_KEY[N]
headers = {
"accept": "application/json",
Expand Down

0 comments on commit 9eaa4cc

Please sign in to comment.