From e21052208e00a6a134e667d280596b5741cdf5d4 Mon Sep 17 00:00:00 2001
From: Josh Smith <git@breadlysm.com>
Date: Fri, 31 Jul 2020 14:53:44 -0400
Subject: [PATCH] forced pktloss to integer

---
 main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.py b/main.py
index dc78125..9c3b4b2 100755
--- a/main.py
+++ b/main.py
@@ -35,7 +35,7 @@ def init_db():
 
 def pkt_loss(data):
     if 'packetLoss' in data.keys():
-        return data['packetLoss']
+        return int(data['packetLoss'])
     else:
         return 0
 
-- 
GitLab