From 5ccb9b90d4786611f3e0832f36779811af9a7b8f Mon Sep 17 00:00:00 2001 From: rune Date: Tue, 28 Mar 2023 12:27:35 +0200 Subject: [PATCH] Missed a small issue --- ddns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddns.py b/ddns.py index bd43685..14318e5 100755 --- a/ddns.py +++ b/ddns.py @@ -161,7 +161,7 @@ def add_subdomain(domain): if response != 'Fail': response_data = response.json() domainid = str(response_data['domain_record']['id']) - cursor.execute('INSERT INTO subdomains values(?,?,?,?,?,?,?,?)',(domainid,topdomain_id,sub,ip,None,now,now,now,now,)) + cursor.execute('INSERT INTO subdomains values(?,?,?,?,?,?,?,?)',(domainid,topdomain_id,sub,ip,None,now,now,now,)) conn.commit() print('The domain %s has been added.' % (domain)) logging.info(time.strftime("%Y-%m-%d %H:%M") + ' - Info : subdomain %s added'%(domain))