Unrelated black formatting

This commit is contained in:
Rory Flynn 2024-01-31 11:01:39 +01:00
parent 74c1f274f4
commit 27a7497a7c

View File

@ -69,9 +69,9 @@ class Calls(IOSExtraction):
"isodate": convert_mactime_to_iso(row[0]), "isodate": convert_mactime_to_iso(row[0]),
"duration": row[1], "duration": row[1],
"location": row[2], "location": row[2],
"number": row[3].decode("utf-8") "number": (
if row[3] and row[3] is bytes row[3].decode("utf-8") if row[3] and row[3] is bytes else row[3]
else row[3], ),
"provider": row[4], "provider": row[4],
} }
) )