Commit 60af3460 authored by arthur-zzz's avatar arthur-zzz
Browse files

Fix ./noc confdb query output

parent af2c47ff
Pipeline #34266 passed with stages
in 29 minutes and 33 seconds
......@@ -197,7 +197,7 @@ class Command(BaseCommand):
if key not in headers:
headers += [key]
width += [40]
row.insert(headers.count(key), r[key])
row.insert(headers.index(key), r[key])
table += [row]
if table:
self.print("Result:\n", format_table(width, [headers] + table))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment