diff --git a/src/app.py b/src/app.py index 3084e88ed..0b8544292 100644 --- a/src/app.py +++ b/src/app.py @@ -2365,7 +2365,9 @@ def _check_manifest_requirements(manifest: Dict, action: str): logger.debug(m18n.n("app_requirements_checking", app=app_id)) # Yunohost version requirement - yunohost_requirement = version.parse(manifest["integration"]["yunohost"].strip(">= ") or "4.3") + yunohost_requirement = version.parse( + manifest["integration"]["yunohost"].strip(">= ") or "4.3" + ) yunohost_installed_version = version.parse( get_ynh_package_version("yunohost")["version"] ) diff --git a/src/certificate.py b/src/certificate.py index 577048777..928bea499 100644 --- a/src/certificate.py +++ b/src/certificate.py @@ -457,6 +457,7 @@ investigate : try: import smtplib + smtp = smtplib.SMTP("localhost") smtp.sendmail(from_, [to_], message.encode("utf-8")) smtp.quit()