diff --git a/test/script/tskdbdiff.py b/test/script/tskdbdiff.py index a6f24e1695..7e22f5009a 100644 --- a/test/script/tskdbdiff.py +++ b/test/script/tskdbdiff.py @@ -428,7 +428,7 @@ class TskGuidUtils: ret_dict = {} for row in cursor: # concatenate value rows with delimiter filtering out any null values. - ret_dict[row[0]] = delim.join(filter(lambda col: col is not None, [str(col) for col in row[1:]])) + ret_dict[row[0]] = delim.join([str(col) for col in filter(lambda col: col is not None, row[1:])]) return ret_dict