mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Missing decode() for Popen output in certificate.py
This commit is contained in:
parent
33fab1c99f
commit
ab454ff62f
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ def _certificate_install_selfsigned(domain_list, force=False):
|
|||
|
||||
out, _ = p.communicate()
|
||||
|
||||
out = out.decode("utf-8")
|
||||
|
||||
if p.returncode != 0:
|
||||
logger.warning(out)
|
||||
raise YunohostError("domain_cert_gen_failed")
|
||||
|
|
Loading…
Add table
Reference in a new issue