Skip to content

Commit

Permalink
Prevent error when password is used before assigment
Browse files Browse the repository at this point in the history
  • Loading branch information
lvarin committed Aug 26, 2024
1 parent 857bf2c commit e35a17e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tesk_core/filer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e35a17e

Please sign in to comment.