diff --git a/library/cloud/s3 b/library/cloud/s3 index 6c465d837fb..cb524cc962d 100644 --- a/library/cloud/s3 +++ b/library/cloud/s3 @@ -173,7 +173,8 @@ def main(): else: key_name = dest - # Check to see if the key already exists + # Check to see if the key already exists + key_exists = False if bucket_exists is True: try: key_check = bucket.get_key(key_name)