aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann QUERET <yoann@queret.net>2021-01-18 10:51:05 +0100
committerGitHub <noreply@github.com>2021-01-18 10:51:05 +0100
commit30f4852883b1a048f3b3db58b6756bcd7af9915b (patch)
treea7f886131d4777a92c019c83cf2a00fbf7674940
parent2124bdca266f14a922010bd18a09c80c9b9917d6 (diff)
downloaddabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.tar.gz
dabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.tar.bz2
dabmux-30f4852883b1a048f3b3db58b6756bcd7af9915b.zip
Make compatible with python3.5 with parameters config
-rwxr-xr-xdoc/show_dabmux_stats.py2
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'])