From 2816355886e717106ece9b1770f2a2f95c453bb6 Mon Sep 17 00:00:00 2001 From: rrr-marble Date: Tue, 21 Dec 2021 01:27:34 +0300 Subject: [PATCH] del: redundant db columns --- util/import_photos.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/util/import_photos.py b/util/import_photos.py index 1a9cf0e..cfaf91e 100644 --- a/util/import_photos.py +++ b/util/import_photos.py @@ -130,9 +130,7 @@ def update_database(pic_info: dict, db_location: str): :OriginalImage, :DateTimeOriginal, :GPSLatitude, - :GPSLatitudeRef, - :GPSLongitude, - :GPSLongitudeRef) + :GPSLongitude) """, pic_info, ) @@ -164,9 +162,7 @@ def check_database(database_path: str): origpath TEXT NOT NULL, date TEXT, GPSLatitude TEXT, - GPSLatitudeRef TEXT, - GPSLongitude TEXT, - GPSLongitudeRef TEXT + GPSLongitude TEXT )""" ) con.commit()