We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96852f8 commit 4d8bab5Copy full SHA for 4d8bab5
coc/http.py
@@ -425,8 +425,7 @@ async def initialise_keys(self):
425
LOG.info("Successfully logged into the developer site.")
426
427
resp_paylaod = await resp.json()
428
- ip = json_loads(base64_b64decode(resp_paylaod["temporaryAPIToken"].split(".")[1] + "====").decode("utf-8"))[
429
- "limits"][1]["cidrs"][0].split("/")[0]
+ ip = json_loads(base64_b64decode(resp_paylaod["temporaryAPIToken"].split(".")[1] + "====").decode("utf-8"))["limits"][1]["cidrs"][0].split("/")[0]
430
431
LOG.info("Found IP address to be %s", ip)
432
0 commit comments