update Code/ddns.py.

This commit is contained in:
Bigsk 2020-07-30 15:55:34 +08:00 committed by Gitee
parent fd4e12c9ad
commit c970f36c93

View File

@ -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)