]> git.ipfire.org Git - oddments/ddns.git/commit - src/ddns/providers.py
ProviderDDNSS: Fix unhandled exception on update
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 25 May 2020 16:00:51 +0000 (18:00 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 25 May 2020 16:00:51 +0000 (18:00 +0200)
commit7d0956d14ff8d823551ccd47ccf1492c9da9aac9
treefd881c949d1ae16e61897b0394ccd306bebe5106
parentce6e977f0ace7fe468411270ad07f1824a3aeaec
ProviderDDNSS: Fix unhandled exception on update

In python > 3.3 the getheader() attribute is not longer part of the
urllib.response response.info() object. It is part of response object
and so directly can be accessed.

Fixes #12328

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