Fixed rnstatus JSON output bug when IFAC was enabled on an interface

This commit is contained in:
Mark Qvist 2024-08-28 23:25:18 +02:00
parent 0c95d720db
commit bce37fe8c0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
if isinstance(stats[s], bytes): if isinstance(stats[s], bytes):
stats[s] = RNS.hexrep(stats[s], delimit=False) stats[s] = RNS.hexrep(stats[s], delimit=False)
if isinstance(stats[s], dict): if isinstance(stats[s], dict) or isinstance(stats[s], list):
for i in stats[s]: for i in stats[s]:
if isinstance(i, dict): if isinstance(i, dict):
for k in i: for k in i: