From 439d42182a2f73d71f7432e9dd2ebc4e7ba40bef Mon Sep 17 00:00:00 2001 From: Zhao Zuohong <1040110848@qq.com> Date: Thu, 29 Sep 2022 14:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20`create=5Ftables`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/render/render_all.py | 2 +- data/render/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/render/render_all.py b/data/render/render_all.py index 393513a..98ff92d 100755 --- a/data/render/render_all.py +++ b/data/render/render_all.py @@ -8,7 +8,7 @@ sys.path.append("../convert/31-0") from db import * db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3") -db.generate_mapping(create_tables=True) +db.generate_mapping() with sync_playwright() as p: browser = p.chromium.launch() diff --git a/data/render/server.py b/data/render/server.py index 11515da..794254d 100755 --- a/data/render/server.py +++ b/data/render/server.py @@ -10,7 +10,7 @@ sys.path.append("../convert/31-0") from db import * db.bind(provider="sqlite", filename="../clean/31-0/data.sqlite3") -db.generate_mapping(create_tables=True) +db.generate_mapping() @route("/")