Private GIT

Skip to content
Snippets Groups Projects
Commit e2105220 authored by Josh Smith's avatar Josh Smith
Browse files

forced pktloss to integer

parent 7207aeae
Branches
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ def init_db(): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment