Regenerated final database

This commit is contained in:
Yurun Chen
2024-12-04 08:55:25 +11:00
parent 7492a7f005
commit c24c128ca7
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@@ -66,6 +66,7 @@ for i in range(len(biglst)):
catid = cur.fetchall()[0][0]
cur.execute("SELECT id FROM subcat WHERE cat_id='"+str(catid)+"'")
subcatid = 0
#if there are no subcategory
try:
subcatid = cur.fetchall()[0][0]
except: