From be6a1f4eb797498f505e66acf54402100faf0a9b Mon Sep 17 00:00:00 2001 From: rrr-marble Date: Tue, 21 Dec 2021 01:31:19 +0300 Subject: [PATCH] del: redundant db columns in update requests --- util/import_photos.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/import_photos.py b/util/import_photos.py index cfaf91e..c0e7e09 100644 --- a/util/import_photos.py +++ b/util/import_photos.py @@ -121,10 +121,8 @@ def update_database(pic_info: dict, db_location: str): """INSERT INTO images(resizedpath, origpath, date, - GPSLatitude, - GPSLatitudeRef, - GPSLongitude, - GPSLongitudeRef) + GPSLatitude, + GPSLongitude) VALUES (:ResizedImage, :OriginalImage,