forced pktloss to integer

This commit is contained in:
Josh Smith 2020-07-31 14:53:44 -04:00
parent 7207aeaea9
commit e21052208e
1 changed files with 1 additions and 1 deletions

View File

@ -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