changed to dict

This commit is contained in:
2023-12-21 11:27:29 +01:00
parent 3c8974ee74
commit f8383567fe
5 changed files with 43 additions and 17 deletions

View File

@@ -14,8 +14,10 @@ def start_process(logger):
if len(files) > 0:
exif_data = get_meta_data(images=files)
sort_pictures(images=exif_data, dst=config.dst, logger=logger)
return True
else:
print("No images found")
return False
except Exception as err:
print(err)
logger.error(err)