Fix inheritance of DynDNS protocol 2 class
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Jul 2014 15:49:52 +0000 (15:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Jul 2014 15:49:52 +0000 (15:49 +0000)
src/ddns/providers.py

index 59ccd72..6ab9073 100644 (file)
@@ -513,7 +513,7 @@ class DDNSProviderDynU(DDNSProtocolDynDNS2, DDNSProvider):
        url = "https://api.dynu.com/nic/update"
 
        def _prepare_request_data(self):
        url = "https://api.dynu.com/nic/update"
 
        def _prepare_request_data(self):
-               data = DDNSProviderDynDNS._prepare_request_data(self)
+               data = DDNSProtocolDynDNS2._prepare_request_data(self)
 
                # This one supports IPv6
                data.update({
 
                # This one supports IPv6
                data.update({
@@ -943,7 +943,7 @@ class DDNSProviderSelfhost(DDNSProtocolDynDNS2, DDNSProvider):
        url = "https://carol.selfhost.de/nic/update"
 
        def _prepare_request_data(self):
        url = "https://carol.selfhost.de/nic/update"
 
        def _prepare_request_data(self):
-               data = DDNSProviderDynDNS._prepare_request_data(self)
+               data = DDNSProtocolDynDNS2._prepare_request_data(self)
                data.update({
                        "hostname" : "1",
                })
                data.update({
                        "hostname" : "1",
                })