From c970f36c9336c585df4c91db7fc58d24a8b980fe Mon Sep 17 00:00:00 2001 From: Bigsk <1332540+bigskcode@user.noreply.gitee.com> Date: Thu, 30 Jul 2020 15:55:34 +0800 Subject: [PATCH] update Code/ddns.py. --- Code/ddns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/ddns.py b/Code/ddns.py index 088cef5..98e24dd 100644 --- a/Code/ddns.py +++ b/Code/ddns.py @@ -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)