forced pktloss to integer

This commit is contained in:
Josh Smith 2020-07-31 14:53:44 -04:00
parent 7207aeaea9
commit e21052208e

View file

@ -35,7 +35,7 @@ def init_db():
def pkt_loss(data): def pkt_loss(data):
if 'packetLoss' in data.keys(): if 'packetLoss' in data.keys():
return data['packetLoss'] return int(data['packetLoss'])
else: else:
return 0 return 0