Skip to content

Commit

Permalink
fix creation of user defined tmp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Nov 23, 2021
1 parent a3c514d commit 753e6e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bakta/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ def setup(args):
sys.exit(f'ERROR: dedicated temporary directory ({tmp_path}) does not exist!')
else:
log.info('use dedicated temp dir: path=%s', tmp_path)
tmp_path = Path(tempfile.mkdtemp(dir=str(tmp_path)))
tmp_path = Path(tempfile.mkdtemp(dir=str(tmp_path))).resolve()
else:
tmp_path = Path(tempfile.mkdtemp())
tmp_path = Path(tempfile.mkdtemp()).resolve()
log.info('tmp-path=%s', tmp_path)

try:
Expand Down

0 comments on commit 753e6e8

Please sign in to comment.