Added base words
This commit is contained in:
+5282
File diff suppressed because it is too large
Load Diff
+4996
File diff suppressed because it is too large
Load Diff
+4999
File diff suppressed because it is too large
Load Diff
+1978
File diff suppressed because it is too large
Load Diff
+1987
File diff suppressed because it is too large
Load Diff
+1834
File diff suppressed because it is too large
Load Diff
@@ -35,6 +35,7 @@ def addwords(filename,groupid):
|
|||||||
|
|
||||||
print("Cleaning the database")
|
print("Cleaning the database")
|
||||||
cur.execute("DELETE FROM words")
|
cur.execute("DELETE FROM words")
|
||||||
|
cur.execute("UPDATE wgroups SET parentid=NULL")
|
||||||
cur.execute("DELETE FROM wgroups")
|
cur.execute("DELETE FROM wgroups")
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user