summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymon Mens <r.mens@me.com>2024-04-10 00:15:16 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-04-10 15:02:46 +0200
commit18e07d55c62dfd25aebc59217e4447c0379514ad (patch)
tree4945f839e9da705b0c636510cf5255db7131bc52
parent28ec47d8887f43ba54d79dd6d738aef1ff0ec9b9 (diff)
downloadODR-AudioEnc-18e07d55c62dfd25aebc59217e4447c0379514ad.tar.gz
ODR-AudioEnc-18e07d55c62dfd25aebc59217e4447c0379514ad.tar.bz2
ODR-AudioEnc-18e07d55c62dfd25aebc59217e4447c0379514ad.zip
User PyYAML `safe_load` in example_stats_receiver.py
-rwxr-xr-xexample_stats_receiver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_stats_receiver.py b/example_stats_receiver.py
index 99ce199..a48f560 100755
--- a/example_stats_receiver.py
+++ b/example_stats_receiver.py
@@ -34,5 +34,5 @@ while True:
data, addr = sock.recvfrom(256)
logging.info("RX from {}". format(addr))
- data = yaml.load(data)
+ data = yaml.safe_load(data)
print(data)