mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-24 18:41:06 +00:00
Remove unneeded variable
This commit is contained in:
parent
99d042f36e
commit
e25a4781a8
1 changed files with 1 additions and 2 deletions
|
@ -677,7 +677,6 @@ async fn launch<S: Store + Clone + 'static>(
|
|||
// 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<S: Store + Clone + 'static>(
|
|||
.session(store)
|
||||
.import(
|
||||
filename,
|
||||
validate_imports,
|
||||
!CONFIG.media.skip_validate_imports,
|
||||
CONFIG.media.enable_silent_video,
|
||||
map_error::map_crate_error(stream),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue