]> git.ipfire.org Git - ddns.git/commit
Convert provider's responses to string
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 15 Jan 2020 16:44:02 +0000 (17:44 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 15 Jan 2020 16:44:02 +0000 (17:44 +0100)
commit472b2408b1755b651573b82ef950fca8bd1804fe
tree53ddca2455ff7386fde31fbb7e0c753e84fa01be
parent9bcdce1c8005f140cdaacaa7bf74dc3756fc442d
Convert provider's responses to string

In Python 3, the HTTPResponse class returns all data that
was received from the web server as bytes().

To perform string matching, we need to convert it into
unicode first.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/ddns/providers.py