Skip to content

Commit 7e7d7eb

Browse files
committed
is not
1 parent b38ad3f commit 7e7d7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ 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 and label is not "Null":
1040+
if fqdn and label and label != "Null":
10411041
sketch_name = label
10421042
try:
10431043
sketches = ts_client.list_sketches()
@@ -1121,7 +1121,7 @@ def api_plaso_timesketch():
11211121

11221122
# 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
11231123
sketch_id = ""
1124-
if fqdn and label and label is not "Null":
1124+
if fqdn and label and label != "Null":
11251125
sketch_name = label
11261126
try:
11271127
sketches = ts_client.list_sketches()

0 commit comments

Comments
 (0)