diff --git a/.gitignore b/.gitignore index 9faf05e..245f424 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ pkg/archlinux/* # Ides .vscode/ .idea/ +.claude/worktrees/* diff --git a/fades/helpers.py b/fades/helpers.py index 967818a..2a0ccc1 100644 --- a/fades/helpers.py +++ b/fades/helpers.py @@ -350,14 +350,15 @@ def download_remote_script(url): """Download the content of a remote script to a local temp file.""" temp_fh = tempfile.NamedTemporaryFile('wt', encoding='utf8', suffix=".py", delete=False) downloader = _ScriptDownloader(url) + filepath = Path(temp_fh.name) logger.info( - "Downloading remote script from %r (using %r downloader) to %r", - url, downloader.name, temp_fh.name) + "Downloading remote script from %r (using %r downloader) to %s", + url, downloader.name, filepath) content = downloader.get() temp_fh.write(content) temp_fh.close() - return Path(temp_fh.name) + return filepath def get_env_bin_path(base_env_path):