Skip to content
Snippets Groups Projects
Commit be58fc00 authored by Jan Hartig's avatar Jan Hartig
Browse files

Reformat

parent b9503cf1
Branches
No related tags found
1 merge request!11Reformat
Pipeline #27797 passed
......@@ -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)
......
......@@ -3,7 +3,15 @@ from os import path, makedirs
from uuid import uuid4
import av
from flask import current_app, render_template, abort, url_for, redirect, request, stream_with_context
from flask import (
current_app,
render_template,
abort,
url_for,
redirect,
request,
stream_with_context,
)
from forms import UploadForm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment