Skip to content

Commit

Permalink
Appease stickler
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Aug 3, 2022
1 parent 6224bd8 commit 2dc4f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyam/iiasa.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ def __init__(self, name=None, creds=None, auth_url=_AUTH_URL):
@lru_cache()
def _connection_map(self):
# TODO: application-list will be reimplemented in conjunction with ixmp-server
url = "/".join([self._auth_url, "legacy", "applications"])
r = self.auth.client.get("legacy/applications", headers=self.auth())
if r.status_code >= 400:
raise ValueError("Unknown API error: " + r.text)

aliases = set()
conn_map = {}
for x in r.json():
Expand Down

0 comments on commit 2dc4f6f

Please sign in to comment.