Skip to content

Commit

Permalink
Update source/common.c
Browse files Browse the repository at this point in the history
PR trivial merge

Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
JonathanHenson and graebm authored Oct 10, 2023
1 parent db3a01d commit ba6342d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ PyObject *aws_py_is_crt_s3_optimized_for_system(PyObject *self, PyObject *args)
Py_ssize_t instance_type_str_len = 0;

if (!PyArg_ParseTuple(args, "Oz#", &env_capsule, &instance_type_str, &instance_type_str_len)) {
return PyErr_AwsLastError();
return NULL;
}

struct aws_system_environment *env = PyCapsule_GetPointer(env_capsule, s_capsule_name_sys_env);
Expand Down

0 comments on commit ba6342d

Please sign in to comment.