Skip to content

Commit 360e88a

Browse files
committed
-
1 parent 3fc0d95 commit 360e88a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source_py3/python_toolbox/temp_file_tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ def create_temp_folder(suffix='', prefix=tempfile.template):
3434
Use the `suffix` and `prefix` string arguments to dictate a suffix and/or a
3535
prefix to the temporary folder's name in the filesystem.
3636
'''
37-
yield pathlib.Path(
38-
tempfile.mkdtemp(suffix=self.suffix, prefix=self.prefix)
39-
)
37+
yield pathlib.Path(tempfile.mkdtemp(suffix=suffix, prefix=prefix))
4038
shutil.rmtree(self.path)

0 commit comments

Comments
 (0)