Skip to content

Commit e7220e3

Browse files
authored
Update views.py
1 parent 3ea2577 commit e7220e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/analysis/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def search_behavior(request, task_id):
14621462
for argument in call["arguments"]:
14631463
if search_argname and argument["name"] != search_argname:
14641464
continue
1465-
if query.search(argument["value"]):
1465+
if isinstance(argument["value"], (str, bytes)) and query.search(argument["value"]):
14661466
process_results.append(call)
14671467
break
14681468

0 commit comments

Comments
 (0)