endswith first arg must be bytes or a tuple of bytes, not str

while doing ssh to client, seeing this error

[2019-12-18 02:09:13,945] +++ connection to spawn: ssh -l admin x.x.x.x, id: 140358376686928 +++
[2019-12-18 02:09:13,947] connection to MacClient_1
endswith first arg must be bytes or a tuple of bytes, not str

0
2 comments

Please provide more information. When exactly do you get this error? What are the exact steps? 

Here's one thread with the error discussed: https://stackoverflow.com/questions/19827615/startswith-typeerror-in-function/19827633

But I'm not even sure if we're talking about PyCharm code or your code.

0
Avatar
Permanently deleted user

Thanks for the reply. I got know that it's a known pycharm issue and it's resolved in version 2 series. After installing it, issue was not seen.

0

Please sign in to leave a comment.