From eba4ada5625c2a7efdb0549af2553149716f8826 Mon Sep 17 00:00:00 2001 From: Karina5005 Date: Tue, 17 Oct 2023 08:17:34 +0000 Subject: [PATCH] fix: style fixes --- backup_github/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup_github/utils.py b/backup_github/utils.py index 94e01f6..4bc2449 100644 --- a/backup_github/utils.py +++ b/backup_github/utils.py @@ -58,11 +58,11 @@ def count_sizes(output_dir): def upload_to_s3(ak, sk, endpoint, backup_dir, bucket, organization): session = boto3.session.Session() s3 = session.client( - service_name='s3', + service_name="s3", aws_access_key_id=ak, aws_secret_access_key=sk, endpoint_url=endpoint, - verify=False + verify=False, ) shutil.make_archive(base_name="backup_archive", format="gztar", root_dir=backup_dir) resp = s3.upload_file(