diff --git a/src/client/result/ProductResultParser.rs b/src/client/result/ProductResultParser.rs index 5269e48..f1cb654 100644 --- a/src/client/result/ProductResultParser.rs +++ b/src/client/result/ProductResultParser.rs @@ -49,8 +49,8 @@ pub fn parse(result: &RXingResult) -> Option { let normalizedProductID; // Expand UPC-E for purposes of searching if format == &BarcodeFormat::UPC_E && rawText.len() == 8 { - unimplemented!("UPCEReader is required to parse this"); - //normalizedProductID = UPCEReader.convertUPCEtoUPCA(rawText); + // unimplemented!("UPCEReader is required to parse this"); + normalizedProductID = crate::oned::convertUPCEtoUPCA(&rawText); } else { normalizedProductID = rawText.clone(); }