fix: temporarily parse "Plot Only" as false

This commit is contained in:
Anna 2018-09-05 01:20:00 -04:00
parent 14738ac9fc
commit d3c68a49d9
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ fn parse_estate_built<'a>(html: ElementRef<'a>) -> Result<bool> {
let built = match estate_built.as_str() {
"Estate Built" => true,
"No Estate or Plot" => false,
"Plot Only" => false, // FIXME: use enum for this
_ => return Err(Error::invalid_content("`Estate Built` or `No Estate or Plot`", Some(&estate_built))),
};
Ok(built)