Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
edulauer committed Aug 29, 2024
1 parent 961e541 commit 92c9618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/notification/email_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def generate_email_content(self) -> str:

for group, search_results in search["result"].items():

if not results:
if not search_results:
blocks.append(f"<p>{self.report_config.no_results_found_text}.</p>")
else:
if not self.report_config.hide_filters:
Expand All @@ -112,7 +112,7 @@ def generate_email_content(self) -> str:
blocks.append(f"**Grupo: {group}**")
blocks.append("\n\n")

for term, term_results in results.items():
for term, term_results in search_results.items():
blocks.append("\n")
if not self.report_config.hide_filters:
blocks.append(f"* # Resultados para: {term}")
Expand Down

0 comments on commit 92c9618

Please sign in to comment.