Update main.py

Change ping.success from True/False to 1/0
This commit is contained in:
Leigh Phillips 2021-01-20 00:02:54 -08:00 committed by GitHub
parent 74f1256084
commit 1254627483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ def pingtest():
'target' : target
},
'fields': {
'success' : pingtest.success(),
'success' : int(pingtest.success()),
'rtt': pingtest.rtt_avg_ms
}
}