From bce37fe8c01f11ae8ea7cac944206fc3f819aa70 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 28 Aug 2024 23:25:18 +0200 Subject: [PATCH] Fixed rnstatus JSON output bug when IFAC was enabled on an interface --- RNS/Utilities/rnstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Utilities/rnstatus.py b/RNS/Utilities/rnstatus.py index 4836348..d20a908 100644 --- a/RNS/Utilities/rnstatus.py +++ b/RNS/Utilities/rnstatus.py @@ -69,7 +69,7 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json= if isinstance(stats[s], bytes): 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]: if isinstance(i, dict): for k in i: