mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-28 11:35:05 +01:00
Solve issues with deploy assistant (#1257)
* Fix very broken interactive deploy input commands * Invoke `manage.py` on deploy with current Python interpreter * Fix Dovecot binary detection on Python 3
This commit is contained in:
committed by
Antoine Nguyen
parent
b40d02a959
commit
b075e4782f
@@ -133,7 +133,7 @@ class AdminParametersForm(param_forms.AdminParametersForm):
|
||||
dpath = None
|
||||
code, output = exec_cmd("which dovecot")
|
||||
if not code:
|
||||
dpath = output.strip()
|
||||
dpath = force_text(output).strip()
|
||||
else:
|
||||
known_paths = getattr(
|
||||
settings, "DOVECOT_LOOKUP_PATH",
|
||||
|
||||
Reference in New Issue
Block a user