From e25a4781a8f0c681142b090a3b72a3a05071541c Mon Sep 17 00:00:00 2001 From: "Aode (lion)" Date: Tue, 29 Mar 2022 11:09:23 -0500 Subject: [PATCH] Remove unneeded variable --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 87e6957..6692442 100644 --- a/src/main.rs +++ b/src/main.rs @@ -677,7 +677,6 @@ async fn launch( // Create a new Multipart Form validator for internal imports // // This form is expecting a single array field, 'images' with at most 10 files in it - let validate_imports = !CONFIG.media.skip_validate_imports; let manager2 = manager.clone(); let store2 = store.clone(); let import_form = Form::new() @@ -699,7 +698,7 @@ async fn launch( .session(store) .import( filename, - validate_imports, + !CONFIG.media.skip_validate_imports, CONFIG.media.enable_silent_video, map_error::map_crate_error(stream), )