Workaround some python loading issue.

This commit is contained in:
pitchum 2020-03-25 19:53:36 +01:00
parent ceaacfbd97
commit 094cb15b0a

View file

@ -43,7 +43,6 @@ from yunohost.utils.network import get_public_ip
from moulinette import m18n
from yunohost.app import app_ssowatconf
from yunohost.domain import _get_maindomain
from yunohost.service import _run_service_command
from yunohost.regenconf import regen_conf
from yunohost.log import OperationLogger
@ -640,6 +639,7 @@ def _prepare_certificate_signing_request(domain, key_file, output_folder):
# Set the domain
csr.get_subject().CN = domain
from yunohost.domain import _get_maindomain
if domain == _get_maindomain():
# Include xmpp-upload subdomain in subject alternate names
subdomain="xmpp-upload." + domain