diff --git a/util/import_photos.py b/util/import_photos.py index ee8767b..fdd210c 100644 --- a/util/import_photos.py +++ b/util/import_photos.py @@ -26,6 +26,7 @@ def process_pictures(): Place the resized copies to DEST_STRUNK and move the originals to DEST_ORIGINAL. Return a dict for each image processed for database collection. + Uses: DEST_STRUNK, DEST_ORIGINAL """ # walk every pic # We only care about files in the root of the path @@ -68,6 +69,7 @@ def process_pictures(): def update_database(): """Append new image information to the existing database or create a new one, if it does not exist yet + Uses: DB_LOCATION """ # make sure the database exists check_database(DB_LOCATION) @@ -103,7 +105,7 @@ def check_database(database_path: str): )""" ) con.commit() - # we only use this occasionaly with the new databases, + # we only use this occasionaly with new databases, # so don't bother with transfer logic, just close and reopen it later con.close()