Skip to content

Commit 60f966e

Browse files
authored
Fix importing .z7 files directly (#1333)
1 parent 54d6a9c commit 60f966e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

activity_browser/ui/wizards/db_import_wizard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def run_extract_import(self) -> None:
883883
self.downloader.out_path = self.archive_path
884884
with tempfile.TemporaryDirectory() as tempdir:
885885
temp_dir = Path(tempdir)
886-
self.run_extract(tempdir)
886+
self.run_extract(Path(self.archive_path), temp_dir)
887887
if not import_signals.cancel_sentinel:
888888
# Working with ecoinvent 7z file? look for 'datasets' dir
889889
eco_dir = temp_dir.joinpath("datasets")

0 commit comments

Comments
 (0)