diff --git a/converter_app/readers/hplc.py b/converter_app/readers/hplc.py index 2c5a7bbc..b85bc3ff 100644 --- a/converter_app/readers/hplc.py +++ b/converter_app/readers/hplc.py @@ -29,7 +29,7 @@ def check(self): result = self.file.name.endswith(".tar.gz") or self.file.name.endswith(".tar") if result: with tempfile.TemporaryDirectory() as temp_dir: - self.temp_dir = temp_dir.name + self.temp_dir = temp_dir with tempfile.NamedTemporaryFile(delete=True) as temp_pdf: try: # Save the contents of FileStorage to the temporary file