master
Caleb Hattingh 2023-03-26 15:06:30 +02:00
parent 2f65cc65ff
commit 8356af5410
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ pub(crate) fn extract_value(any: &PyAny) -> PyResult<Value> {
return Ok(Value::Facet(facet.inner)); return Ok(Value::Facet(facet.inner));
} }
if let Ok(b) = any.extract::<Vec<u8>>() { if let Ok(b) = any.extract::<Vec<u8>>() {
return Ok(Value::Bytes(b)) return Ok(Value::Bytes(b));
} }
Err(to_pyerr(format!("Value unsupported {any:?}"))) Err(to_pyerr(format!("Value unsupported {any:?}")))
} }