From 30f4852883b1a048f3b3db58b6756bcd7af9915b Mon Sep 17 00:00:00 2001 From: Yoann QUERET Date: Mon, 18 Jan 2021 10:51:05 +0100 Subject: Make compatible with python3.5 with parameters config --- doc/show_dabmux_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/show_dabmux_stats.py b/doc/show_dabmux_stats.py index 6821296..5bb6605 100755 --- a/doc/show_dabmux_stats.py +++ b/doc/show_dabmux_stats.py @@ -93,7 +93,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config": sock.send(b"config") - config = json.loads(sock.recv()) + config = json.loads(sock.recv().decode("utf-8")) print(config['config']) -- cgit v1.2.3