mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
capture difference between None and 0 in diff script
This commit is contained in:
parent
7150176fd6
commit
98125a6054
@ -1121,7 +1121,8 @@ def write_normalized(guid_utils: TskGuidUtils, output_file, db_conn, table: str,
|
||||
# show row as json-like value
|
||||
entries = []
|
||||
for column in column_names:
|
||||
value = get_sql_insert_value(row_dict[column] if column in row_dict and row_dict[column] else None)
|
||||
dict_value = row_dict[column] if column in row_dict and row_dict[column] is not None else None
|
||||
value = get_sql_insert_value(dict_value)
|
||||
if value is not None:
|
||||
entries.append((column, value))
|
||||
insert_values = ", ".join([f"{pr[0]}: {pr[1]}" for pr in entries])
|
||||
|
Loading…
x
Reference in New Issue
Block a user