🩹 Fix create_tables
This commit is contained in:
parent
c007aeeab4
commit
439d42182a
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
|
@ -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>")
|
||||||
|
|
Loading…
Reference in a new issue