Skip to content
Snippets Groups Projects

Reformat

Merged Jan Hartig requested to merge dev into main
2 files
+ 15
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
2
@@ -45,7 +45,9 @@ def main(end):
local_hostname = None
s = smtplib.SMTP(
host=config["MAIL"]["SERVER"], port=config["MAIL"]["PORT"], local_hostname=local_hostname
host=config["MAIL"]["SERVER"],
port=config["MAIL"]["PORT"],
local_hostname=local_hostname,
)
sent = 0
@@ -99,7 +101,9 @@ def main(end):
job_uuids.append(Path(job).name)
msg.set_content(
"The following jobs currently have errors:\n\n - {}".format("\n - ".join(job_uuids))
"The following jobs currently have errors:\n\n - {}".format(
"\n - ".join(job_uuids)
)
)
s.send_message(msg)
Loading