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:
Alexander Schlarb
2017-10-06 17:19:31 +02:00
committed by Antoine Nguyen
parent b40d02a959
commit b075e4782f
2 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -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",