def import_photos(self, paths): missing = missing_system_dependencies(['exiftool', ]) if missing: print('Missing dependencies: {}'.format(missing)) exit(1) for path in paths: import_photos_from_dir(path)
def rescan_photos(self, paths): missing = missing_system_dependencies(['exiftool', ]) if missing: print('Missing dependencies: {}'.format(missing)) exit(1) rescan_photo_libraries(paths) print('Rescan complete')
def rescan_photos(self, paths): missing = missing_system_dependencies(['exiftool', ]) if missing: logger.critical(f'Missing dependencies: {missing}') exit(1) rescan_photo_libraries(paths) logger.info('Rescan complete')