Update main.py
Change ping.success from True/False to 1/0
This commit is contained in:
parent
74f1256084
commit
1254627483
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -191,7 +191,7 @@ def pingtest():
|
|||
'target' : target
|
||||
},
|
||||
'fields': {
|
||||
'success' : pingtest.success(),
|
||||
'success' : int(pingtest.success()),
|
||||
'rtt': pingtest.rtt_avg_ms
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue