Skip to content

Commit b38ad3f

Browse files
committed
null
1 parent 2cc9b2a commit b38ad3f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)