Formatting

This commit is contained in:
Nick Mowen 2023-12-05 05:57:20 -07:00
parent f15dd014b2
commit b87ece6b93

View File

@ -102,10 +102,7 @@ class TimelineProcessor(threading.Thread):
event_data["attributes"].keys() event_data["attributes"].keys()
)[0] )[0]
Timeline.insert(timeline_entry).execute() Timeline.insert(timeline_entry).execute()
elif ( elif not prev_event_data.get("sub_label") and event_data.get("sub_label"):
not prev_event_data.get("sub_label")
and event_data.get("sub_label")
):
sub_label = event_data["sub_label"][0] sub_label = event_data["sub_label"][0]
if sub_label not in ALL_ATTRIBUTE_LABELS: if sub_label not in ALL_ATTRIBUTE_LABELS: