This commit is contained in:
parent
465b7dacf1
commit
ed89a5f8cf
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user