Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Feb 10, 2025
1 parent 2ccb552 commit a0611c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions arpa-exporter/src/lib/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ def _main(): # pragma: nocover
try:
args.html.write(html)
get_logger().info(
"Email HTML content written to file", filename=args.html.name
"Email HTML content written to file",
filename=args.html.name,
)
except: # noqa: E722
log_fn("Error writing email HTML content to file", filename=args.html.name)
Expand All @@ -223,11 +224,13 @@ def _main(): # pragma: nocover
try:
args.text.write(plaintext)
get_logger().info(
"Email plaintext content written to file", filename=args.text.name
"Email plaintext content written to file",
filename=args.text.name,
)
except: # noqa: E722
log_fn(
"Error writing email plaintext content to file", filename=args.text.name
"Error writing email plaintext content to file",
filename=args.text.name,
)
exit_code = 1

Expand Down

0 comments on commit a0611c0

Please sign in to comment.