🩹 Fix create_tables

This commit is contained in:
zhbaor 2022-09-29 14:29:02 +08:00
parent c007aeeab4
commit 439d42182a
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ sys.path.append("../convert/31-0")
from db import * from db import *
db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3") db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3")
db.generate_mapping(create_tables=True) db.generate_mapping()
with sync_playwright() as p: with sync_playwright() as p:
browser = p.chromium.launch() browser = p.chromium.launch()

View file

@ -10,7 +10,7 @@ sys.path.append("../convert/31-0")
from db import * from db import *
db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3") db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3")
db.generate_mapping(create_tables=True) db.generate_mapping()
@route("/<name>") @route("/<name>")