File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1037,9 +1037,8 @@ def api_hayabusa_timesketch():
10371037
10381038 # If a label is part of the filename, check to see if sketch exists with the same name and add it to it instead of creating a new sketch
10391039 sketch_id = ""
1040- if fqdn and label :
1040+ if fqdn and label and label is not "Null" :
10411041 sketch_name = label
1042-
10431042 try :
10441043 sketches = ts_client .list_sketches ()
10451044 for sketch in sketches :
@@ -1122,7 +1121,7 @@ def api_plaso_timesketch():
11221121
11231122 # If a label is part of the filename, check to see if sketch exists with the same name and add it to it instead of creating a new sketch
11241123 sketch_id = ""
1125- if fqdn and label :
1124+ if fqdn and label and label is not "Null" :
11261125 sketch_name = label
11271126 try :
11281127 sketches = ts_client .list_sketches ()
You can’t perform that action at this time.
0 commit comments