fix syntax error in ApiCaller

This commit is contained in:
florian 2023-03-30 18:27:58 +02:00
parent 55a36f7190
commit 202f21aab8
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class ApiCaller:
for task in instance.tasks() :
self.__apis.append(
API(
f"http://{instance.name}.{task["NodeID"]}.{task["ID"]}:{api_http_port or getenv('API_HTTP_PORT', '5000')}",
f"http://{instance.name}.{task['NodeID']}.{task['ID']}:{api_http_port or getenv('API_HTTP_PORT', '5000')}",
host=api_server_name or getenv("API_SERVER_NAME", "bwapi"),
)
)