diff options
author | Yoann QUERET <yoann@queret.net> | 2021-01-18 10:51:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 10:51:05 +0100 |
commit | 30f4852883b1a048f3b3db58b6756bcd7af9915b (patch) | |
tree | a7f886131d4777a92c019c83cf2a00fbf7674940 | |
parent | 2124bdca266f14a922010bd18a09c80c9b9917d6 (diff) | |
download | dabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.tar.gz dabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.tar.bz2 dabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.zip |
Make compatible with python3.5 with parameters config
-rwxr-xr-x | doc/show_dabmux_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
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']) |