Closed peercoinops closed 7 years ago
Making a note receiving the following error
TypeError: Type str doesn't support the buffer API
Fixed by using str()
status = sh.systemctl.status("{0}@{1}".format(mode, getpass.getuser()),_encoding="utf8") status = str(status).split("\n ")
Seeing this issue on the newer debian 8.0. Created pull request #32
Making a note receiving the following error
TypeError: Type str doesn't support the buffer API
Fixed by using str()