Skip to content

Commit 2c66967

Browse files
Attempt to resolve error
1 parent c758e74 commit 2c66967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/process_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async def process_query(
103103
print(f"{Colors.RED}{e}{Colors.END}")
104104

105105
context["error_message"] = f"Error: {e}"
106-
return template_response(context)
106+
return template_response(context=context)
107107

108108
if len(content) > MAX_DISPLAY_SIZE:
109109
content = (
@@ -129,7 +129,7 @@ async def process_query(
129129
}
130130
)
131131

132-
return template_response(context)
132+
return template_response(context=context)
133133

134134

135135
def _print_query(url: str, max_file_size: int, pattern_type: str, pattern: str) -> None:

0 commit comments

Comments
 (0)