Skip to content

Commit

Permalink
stdin expecting bytes instead of str
Browse files Browse the repository at this point in the history
  • Loading branch information
ajssmith authored and mergify[bot] committed Dec 17, 2018
1 parent 56fca1c commit c32baff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pifpaf/drivers/qdrouterd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c32baff

Please sign in to comment.