Skip to content

Commit

Permalink
Merge pull request #1239 from MetPX/issue35_bugfix_config_refactor
Browse files Browse the repository at this point in the history
Fix bug from moving credentials into config subdir
  • Loading branch information
petersilva authored Sep 27, 2024
2 parents 836f4cc + 7ec0bac commit 0a13250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarracenia/config/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def validate_urlstr(self, urlstr) -> tuple :
if cred_details is None:
logging.critical("bad credential %s" % urlstr)
# Callers expect that a Credential object will be returned
cred_details = credentials.Credential()
cred_details = Credential()
cred_details.url = urllib.parse.urlparse(urlstr)
return False, cred_details
return True, cred_details
Expand Down

0 comments on commit 0a13250

Please sign in to comment.