Skip to content

Commit ea5af0d

Browse files
committed
Fix little mistakes with OVH
1 parent e72840a commit ea5af0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dnsupdate.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,12 @@ class OVHDynDNS(StandardService):
373373
:param system: the type of update (default: ``dyndns``)
374374
"""
375375

376-
def __init__(self, username, password, hostname, system = 'dyndns'):
376+
def __init__(self, username, password, hostname, system='dyndns'):
377377
super().__init__('www.ovh.com', None,
378-
username, password, hostname, system)
378+
username, password, hostname, system=system)
379379

380380
def update_ipv6(self, address):
381-
return super(DNSService, self).update_ipv6(address)
381+
return DNSService.update_ipv6(self, address)
382382

383383
def _load_config(arg_file):
384384
config_files = [arg_file, '~/.config/dnsupdate.conf', '/etc/dnsupdate.conf']

0 commit comments

Comments
 (0)