this is what I want

This commit is contained in:
Torma Kristóf 2019-04-30 16:12:20 +02:00 committed by GitHub
parent ac1e2f1e93
commit cb3885158a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def processor(lines):
maxResponse=max(responseTimes)
minResponse=min(responseTimes)
for line in lines:
sec=line['offset'][0]
sec=int(line['offset'].split('.')[0])
if sec not in responsePerSec:
responsePerSec[sec]=1
else: