mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
fixed lanforge error message
This commit is contained in:
@@ -84,6 +84,8 @@ class lf_clean(Realm):
|
|||||||
print("Removing old endpoints")
|
print("Removing old endpoints")
|
||||||
for name in list(endp_json['endpoint']):
|
for name in list(endp_json['endpoint']):
|
||||||
print(list(name)[0])
|
print(list(name)[0])
|
||||||
|
if name[list(name)[0]]["name"] == '':
|
||||||
|
continue
|
||||||
req_url = "cli-json/rm_endp"
|
req_url = "cli-json/rm_endp"
|
||||||
data = {
|
data = {
|
||||||
"endp_name": list(name)[0]
|
"endp_name": list(name)[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user