Преглед на файлове

이거 필요 없지 않을까

2DU преди 8 години
родител
ревизия
4e60465dbf
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      app.py

+ 0 - 3
app.py

@@ -132,10 +132,7 @@ def setup():
             curs.execute("create table other(name text, data text)")
             curs.execute("create table alist(name text, acl text)")
 
-            curs.execute("delete from alist where name = 'owner'")
             curs.execute("insert into alist (name, acl) value ('owner', 'owner')")
-            
-            curs.execute("delete from other where name = 'version'")
             curs.execute("insert into other (name, data) value ('version', '" + pymysql.escape_string(r_ver) + "')")
             conn.commit()