From a137ca179217640e2bf498ff77ff2355e1a297b4 Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Fri, 5 Jun 2020 10:51:51 -0700 Subject: [PATCH] Fixed missing %s in url --- py-json/LANforge/LFUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/LANforge/LFUtils.py b/py-json/LANforge/LFUtils.py index 0a32b080..8acc0f1f 100644 --- a/py-json/LANforge/LFUtils.py +++ b/py-json/LANforge/LFUtils.py @@ -341,7 +341,7 @@ def waitUntilPortsAppear(resource_id=1, base_url="http://localhost:8080", port_l found_stations = [] for port_name in port_list: sleep(1) - url = "%s/%s/%s" % (base_url, port_url, resource_id, port_name) + url = "%s%s/%s/%s" % (base_url, port_url, resource_id, port_name) lf_r = LFRequest.LFRequest(url) json_response = lf_r.getAsJson(show_error=False) if (json_response != None):