diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-22 20:20:38 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-22 20:20:38 +1000 |
| commit | 703750ea5de00354c6bb807f95e8bd9685b3dddd (patch) | |
| tree | 2947ae4040bd1a8339f4fa5c1b6903a1fdc81f34 /backend/data/genImgsForWeb.py | |
| parent | 8ce802ef223ac082975da9d04f10e5dc78529410 (diff) | |
Up-propgate images for usage in parents without images
Also adjust vite config to avoid apparent redundant processing when
images are being downloaded.
Diffstat (limited to 'backend/data/genImgsForWeb.py')
| -rwxr-xr-x | backend/data/genImgsForWeb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data/genImgsForWeb.py b/backend/data/genImgsForWeb.py index 14583d6..91a1cde 100755 --- a/backend/data/genImgsForWeb.py +++ b/backend/data/genImgsForWeb.py @@ -28,7 +28,7 @@ if not os.path.exists(outDir): # Open images-list db imagesListDbCon = sqlite3.connect(imagesListDb) imagesListCur = imagesListDbCon.cursor() -# Create/open data db +# Open data db dbCon = sqlite3.connect(dbFile) dbCur = dbCon.cursor() if dbCur.execute("SELECT name FROM sqlite_master WHERE type='table' AND name='images'").fetchone() == None: |
