From e35a17e9306a5b93656371be20bf6bc36b3935cf Mon Sep 17 00:00:00 2001 From: "alvaro.gonzalez" Date: Mon, 26 Aug 2024 08:29:38 +0300 Subject: [PATCH] Prevent error when password is used before assigment --- src/tesk_core/filer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tesk_core/filer.py b/src/tesk_core/filer.py index d2fef8b..af6cf93 100755 --- a/src/tesk_core/filer.py +++ b/src/tesk_core/filer.py @@ -240,6 +240,7 @@ def delete(self): def ftp_login(ftp_connection, netloc, netrc_file): user = None + password=None if netrc_file is not None: creds = netrc_file.authenticators(netloc) if creds: