its better now
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-23 19:07:17 +02:00
parent 465b7dacf1
commit ed89a5f8cf
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -8,7 +8,6 @@ import csv
import os import os
import abc import abc
import datetime import datetime
import multiprocessing
import matplotlib.pyplot as pplot import matplotlib.pyplot as pplot
import sentry_sdk import sentry_sdk
@ -166,7 +165,7 @@ class BirbAnalyzer(CsvAnalyzer):
item = {} item = {}
for (name, value) in items: for (name, value) in items:
item[name] = value.strip() item[name] = value.strip()
sec = datetime.datetime.strptime(item['http_start_time'], '%Y-%m-%dT%H:%M:%S.%f').strftime("%H:%M:%S") sec = datetime.datetime.strptime(item['mqtt_arrive_time'], '%Y-%m-%dT%H:%M:%S.%f').strftime("%H:%M:%S")
if sec not in responsepersec: if sec not in responsepersec:
responsepersec[sec] = [] responsepersec[sec] = []
else: else: