From 4a1ac2ec6e85ae9ac88c63952d781e20001d8108 Mon Sep 17 00:00:00 2001 From: rune Date: Tue, 28 Mar 2023 12:23:09 +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 6a6a449..bd43685 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,)) + cursor.execute('INSERT INTO subdomains values(?,?,?,?,?,?,?,?)',(domainid,topdomain_id,sub,ip,None,now,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))