Skip to content

Commit 499d511

Browse files
committed
Removed manual role - needs to be set in env vars
1 parent 9dfed21 commit 499d511

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

enroadspy/load_sdk.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ def main():
2424
return
2525

2626
if not os.path.exists(zip_path):
27-
session = boto3.Session(profile_name="LeafDev")
28-
s3 = session.client('s3')
27+
s3 = boto3.client('s3')
2928
s3.download_file("ai-for-good", sdk_name + ".zip", zip_path)
3029

3130
with zipfile.ZipFile(zip_path, "r") as zip_ref:

0 commit comments

Comments
 (0)