diff options
Diffstat (limited to 'src/ee/element14')
-rw-r--r-- | src/ee/element14/search_parts.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ee/element14/search_parts.py b/src/ee/element14/search_parts.py index 32abec1..55e8130 100644 --- a/src/ee/element14/search_parts.py +++ b/src/ee/element14/search_parts.py @@ -7,8 +7,8 @@ from ee.xml import bom_file_utils, types __all__ = ["search_parts"] -def search_parts(in_dir: Path, out_dir: Path, cache_dir: Path, config: Element14Config): - in_db = load_db(in_dir) +def search_parts(in_path: Path, out_path: Path, cache_dir: Path, config: Element14Config): + in_db = load_db(in_path) out_parts = PartDb() client = Element14Client(config, cache_dir) @@ -28,4 +28,4 @@ def search_parts(in_dir: Path, out_dir: Path, cache_dir: Path, config: Element14 di = out_part.distributor_infoProp print("Saving {} work parts".format(out_parts.size())) - save_db(out_dir, out_parts) + save_db(out_path, out_parts) |