From 8d03e87035614154ab1b21eaed41dce73b4434cb Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Wed, 20 Nov 2024 12:56:36 +0000 Subject: [PATCH] target: Make Target.tempfile() use Target.tmp_directory --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index 8cd7615ef..fa9f92701 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -1321,7 +1321,7 @@ async def tempfile(self, prefix='', suffix=''): uuid=uuid.uuid4().hex, suffix=suffix, ) - path = self.get_workpath(name) + self.path.join(self.tmp_directory, name) if (await self.file_exists.asyn(path)): raise FileExistsError('Path already exists on the target: {}'.format(path)) else: