From 7db2e4b059e38946c9c8b864d177b5c09603b79e Mon Sep 17 00:00:00 2001 From: alexjacks92 Date: Wed, 14 May 2014 16:02:56 -0400 Subject: [PATCH] String concatenation bug fixed. --- test/script/tskdbdiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/script/tskdbdiff.py b/test/script/tskdbdiff.py index 3dec5e1579..067e7205d2 100755 --- a/test/script/tskdbdiff.py +++ b/test/script/tskdbdiff.py @@ -305,7 +305,7 @@ def replace_id(line, table): try: path = table[int(obj_id)] parent_path = table[int(parent_id)] - newLine = ('INSERT INTO "tsk_objects" VALUES(' + path + ', ' + parent_path + ', '.join(fields_list[2:]) + ');') + newLine = ('INSERT INTO "tsk_objects" VALUES(' + path + ', ' + parent_path + ', ' + ', '.join(fields_list[2:]) + ');') return newLine except Exception as e: # objects table has things that aren't files. if lookup fails, don't replace anything.