Skip to content

Commit

Permalink
fix check to see if connection happened (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmadjar authored Apr 22, 2024
1 parent ce0b2a2 commit 64cb76b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def __init__(self, loris_getopt_obj, script_name):
# Get S3 object from loris_getopt object
# ---------------------------------------------------------------------------------------------
self.s3_obj = self.loris_getopt_obj.s3_obj
if not self.s3_obj:
message = "[ERROR ] S3 configs not configured properly"
if not self.s3_obj.s3:
message = "S3 configs not configured properly"
self.log_error_and_exit(message, lib.exitcode.S3_SETTINGS_FAILURE, is_error="Y", is_verbose="N")

# ---------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 64cb76b

Please sign in to comment.