diff --git a/extension/pybindings/pybindings.cpp b/extension/pybindings/pybindings.cpp index 3b3ba57093a..518e66d2841 100644 --- a/extension/pybindings/pybindings.cpp +++ b/extension/pybindings/pybindings.cpp @@ -795,7 +795,7 @@ struct PyModule final { py::isinstance(debug_buffer_path)) { // Also write out the debug buffer to a separate file if requested. std::string debug_buffer_path_str = - py::cast(debug_buffer_path); + py::cast(debug_buffer_path); const auto debug_buffer = module_->get_etdump_debug_buffer(); write_data_to_file( debug_buffer_path_str, debug_buffer.data(), debug_buffer.size());