update Code/ddns.py.
This commit is contained in:
parent
fd4e12c9ad
commit
c970f36c93
@ -96,7 +96,7 @@ if ipv4 == 'true':#Judging whether IPV4 DDNS is open
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
#Update IPV4 Record
|
||||
updv4 = UpdateDomainRecord()#Start Update Domain Records
|
||||
updv4 = UpdateDomainRecordRequest()#Start Update Domain Records
|
||||
updv4.set_accept_format('json')
|
||||
|
||||
updv4.RecordId(recordidv4)
|
||||
@ -156,7 +156,7 @@ if ipv6 == "true":#Judging whether IPV6 DDNS is open
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
#Update IPV6 Record
|
||||
updv6 = UpdateDomainRecord()#Start Update Domain Records
|
||||
updv6 = UpdateDomainRecordRequest()#Start Update Domain Records
|
||||
updv6.set_accept_format('json')
|
||||
|
||||
updv6.RecordId(recordidv6)
|
||||
|
Reference in New Issue
Block a user