aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)