fixed lanforge error message

This commit is contained in:
jitendracandela
2021-11-05 17:16:50 +05:30
parent cce2d22456
commit ec1374c947

View File

@@ -84,6 +84,8 @@ class lf_clean(Realm):
print("Removing old endpoints")
for name in list(endp_json['endpoint']):
print(list(name)[0])
if name[list(name)[0]]["name"] == '':
continue
req_url = "cli-json/rm_endp"
data = {
"endp_name": list(name)[0]