We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc0d95 commit 360e88aCopy full SHA for 360e88a
source_py3/python_toolbox/temp_file_tools.py
@@ -34,7 +34,5 @@ def create_temp_folder(suffix='', prefix=tempfile.template):
34
Use the `suffix` and `prefix` string arguments to dictate a suffix and/or a
35
prefix to the temporary folder's name in the filesystem.
36
'''
37
- yield pathlib.Path(
38
- tempfile.mkdtemp(suffix=self.suffix, prefix=self.prefix)
39
- )
+ yield pathlib.Path(tempfile.mkdtemp(suffix=suffix, prefix=prefix))
40
shutil.rmtree(self.path)
0 commit comments