Skip to content

Commit 7fc9d3c

Browse files
bcwutdstein
andauthored
Update rsconnect/bundle.py
Co-authored-by: Taylor Steinberg <[email protected]>
1 parent 34d0126 commit 7fc9d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsconnect/bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ def is_python_enabled_on_server(connect_details):
10681068
10691069
:error: The Posit Connect server does not have Python enabled.
10701070
"""
1071-
return any(connect_details["python"]["versions"])
1071+
return any(connect_details.get("python", {}).get("versions", []))
10721072

10731073

10741074
def are_apis_supported_on_server(connect_details):

0 commit comments

Comments
 (0)