mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Workaround some python loading issue.
This commit is contained in:
parent
ceaacfbd97
commit
094cb15b0a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue