diff --git a/src/folio_migration_tools/folder_structure.py b/src/folio_migration_tools/folder_structure.py index 9a0316a4..5f14f8de 100644 --- a/src/folio_migration_tools/folder_structure.py +++ b/src/folio_migration_tools/folder_structure.py @@ -1,7 +1,7 @@ import logging import sys -from pathlib import Path import time +from pathlib import Path from folio_uuid.folio_namespaces import FOLIONamespaces @@ -117,7 +117,6 @@ def setup_migration_file_structure(self, source_file_type: str = ""): ) # Mapping files - self.temp_locations_map_path = self.mapping_files_folder / "temp_locations.tsv" self.material_type_map_path = self.mapping_files_folder / "material_types.tsv" self.loan_type_map_path = self.mapping_files_folder / "loan_types.tsv" self.temp_loan_type_map_path = self.mapping_files_folder / "temp_loan_types.tsv" diff --git a/src/folio_migration_tools/migration_tasks/items_transformer.py b/src/folio_migration_tools/migration_tasks/items_transformer.py index 012810c6..e6d03d9e 100644 --- a/src/folio_migration_tools/migration_tasks/items_transformer.py +++ b/src/folio_migration_tools/migration_tasks/items_transformer.py @@ -110,7 +110,7 @@ def __init__( else: logging.info( "%s not found. No temporary location mapping will be performed", - self.folder_structure.temp_locations_map_path, + self.task_config.temp_location_map_file_name, ) temporary_location_mapping = None self.mapper = ItemMapper(