Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 1, 2025
1 parent c663d55 commit f4882c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ def fetch_content(self) -> list[Data]:
full_results = wrapper.run(f"{self.input_value} (site:*)")

# Split results and limit to max_results
result_list = full_results.split("\n")[:self.max_results]
result_list = full_results.split("\n")[: self.max_results]

# Process and format results
data_results = []
for result in result_list:
if result.strip(): # Only process non-empty results
snippet = result[:self.max_snippet_length]
snippet = result[: self.max_snippet_length]
data_results.append(
Data(
text=snippet,
Expand Down

0 comments on commit f4882c1

Please sign in to comment.