From: Max Value Date: Tue, 18 Mar 2025 03:43:39 +0000 (+0000) Subject: Fixed schema identation X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=821ee0c6e71fc5212e40f213e516e6057f13fc3f;p=shopping-channel Fixed schema identation --- diff --git a/teleshopping.py b/teleshopping.py index 5747000..71047c8 100755 --- a/teleshopping.py +++ b/teleshopping.py @@ -194,7 +194,8 @@ def api_clock(): def check_generate(): # sanity check the db with open(path.join(app.root_path, "schema"), "r", encoding="utf-8") as f: - schema, load = f.read().split("\n\n") + schema, load = f.read().split("\n\n") + with sqlite3.connect(path.join(app.root_path, "data.db")) as connection: cursor = connection.cursor() try: