mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
Correctly get names for columns when they are user defined
This commit is contained in:
committed by
Jed Reynolds
parent
51ea187b2f
commit
e7e3360dea
@@ -1174,6 +1174,7 @@ class L3CXProfile(BaseProfile):
|
||||
fields=None
|
||||
if col_names is not None and len(col_names) > 0:
|
||||
fields = ",".join(col_names)
|
||||
header_row=col_names
|
||||
else:
|
||||
header_row=list((list(self.json_get("/endp/all")['endpoint'][0].values())[0].keys()))
|
||||
print(fields)
|
||||
|
||||
Reference in New Issue
Block a user