Remove unused imports

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
pull/234/head
Matthias Beyer 5 years ago committed by Manos Pitsidianakis
parent 79becdcc42
commit 678921d2b7
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -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() {

@ -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);

Loading…
Cancel
Save