From 1d5707601096ac8affd8acc59d963b116c791f93 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Fri, 25 Oct 2024 18:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=9F=BA=E5=BB=BA=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AUTO_MAA.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AUTO_MAA.py b/AUTO_MAA.py index d79b7d6..903e76a 100644 --- a/AUTO_MAA.py +++ b/AUTO_MAA.py @@ -1251,7 +1251,7 @@ class Main(QWidget): "CREATE TABLE adminx(admin text,id text,server text,day int,status text,last date,game text,game_1 text,game_2 text,routines text,annihilation text,infrastructure text,password byte,notes text,numb int,mode text,uid int)" ) cur.execute("CREATE TABLE version(v text)") - cur.execute("INSERT INTO version VALUES(?)", ("v1.1",)) + cur.execute("INSERT INTO version VALUES(?)", ("v1.2",)) db.commit() cur.close() db.close() @@ -1673,7 +1673,7 @@ class Main(QWidget): return None if self.user_set.currentIndex() == 0: self.cur.execute( - "INSERT INTO adminx VALUES('新用户','手机号码(官服)/B站ID(B服)','Official',0,'y','2000-01-01','1-7','-','-','y','y','-',?,'无',0,'simple',?)", + "INSERT INTO adminx VALUES('新用户','手机号码(官服)/B站ID(B服)','Official',0,'y','2000-01-01','1-7','-','-','y','y','n',?,'无',0,'simple',?)", ( self.encryptx("未设置"), self.user_list_simple.rowCount(),