Fix incorrect indentation in handle_take_screenshot.

This commit is contained in:
Ms2ger 2015-10-06 18:13:22 +02:00
parent 2e16c3ca8a
commit 0f6197a0fd

View file

@ -622,9 +622,9 @@ impl Handler {
};
let img_vec = match png::to_vec(&mut img) {
Ok(x) => x,
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
"Taking screenshot failed"))
Ok(x) => x,
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
"Taking screenshot failed"))
};
let config = Config {
char_set: CharacterSet::Standard,