]> git.ipfire.org Git - oddments/ddns.git/blobdiff - src/ddns/providers.py
ProviderDDNSS: Fix unhandled exception on update
[oddments/ddns.git] / src / ddns / providers.py
index f1fed2265c6c62510f3207039cf26f007fa3deca..46d8a67cf5b3b62af15f6013aa140e1933123085 100644 (file)
@@ -642,10 +642,8 @@ class DDNSProviderDDNSS(DDNSProvider):
                response = self.send_request(self.url, data=data)
 
                # This provider sends the response code as part of the header.
-               header = response.info()
-
                # Get status information from the header.
-               output = header.getheader('ddnss-response')
+               output = response.getheader('ddnss-response')
 
                # Handle success messages.
                if output == "good" or output == "nochg":