drewkerrigan/nagios-http-json

Replace deprecated encodestring

Closed this issue · 2 comments

While adding pylint to the CI, I notices that encodestring() is used.

check_http_json.py:589:24: W1505: Using deprecated method encodestring() (deprecated-method)

The current code doesn't work as is in Python3 at all.