uses non-deprecated method

This commit is contained in:
Jed Reynolds
2020-12-18 12:36:41 -08:00
parent 062cf04d9b
commit c1bd64adb9

View File

@@ -459,7 +459,7 @@ def wait_until_ports_disappear(base_url="http://localhost:8080", port_list=[], d
if debug:
print("checking:" + check_url)
lf_r = LFRequest.LFRequest(base_url, check_url)
json_response = lf_r.getAsJson(debug_=debug)
json_response = lf_r.get_as_json(debug_=debug)
if (json_response != None):
found_stations.append(port_name)
if len(found_stations) > 0: