Remove unused imports

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
embed
Matthias Beyer 2019-07-17 19:35:04 +02:00 committed by Manos Pitsidianakis
parent 79becdcc42
commit 678921d2b7
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
2 changed files with 0 additions and 2 deletions

View File

@ -116,7 +116,6 @@ impl MailView {
Some(Box::new(move |a: &'closure Attachment, v: &mut Vec<u8>| {
if a.content_type().is_text_html() {
use std::io::Write;
use std::process::{Command, Stdio};
let settings = context.accounts[self.coordinates.0].runtime_settings.conf();
/* FIXME: duplication with view/html.rs */
if let Some(filter_invocation) = settings.html_filter() {

View File

@ -96,7 +96,6 @@ impl EnvelopeView {
Some(Box::new(|a: &Attachment, v: &mut Vec<u8>| {
if a.content_type().is_text_html() {
use std::io::Write;
use std::process::{Command, Stdio};
let settings = context.accounts[self.account_pos].runtime_settings.conf();
if let Some(filter_invocation) = settings.html_filter() {
let parts = split_command!(filter_invocation);