diff --git a/pifpaf/drivers/qdrouterd.py b/pifpaf/drivers/qdrouterd.py index d4f9506..d973d3c 100644 --- a/pifpaf/drivers/qdrouterd.py +++ b/pifpaf/drivers/qdrouterd.py @@ -72,7 +72,7 @@ def get_options(cls): def saslpasswd2(self, username, password, sasl_db): self._exec(["saslpasswd2", "-c", "-p", "-f", - sasl_db, username], stdin=password) + sasl_db, username], stdin=password.encode()) def _setUp(self): super(QdrouterdDriver, self)._setUp()