Fix SQL-Interface

This commit is contained in:
Chaoscaot
2023-03-19 21:18:40 +01:00
parent 02404792a5
commit b8d912881d
2 changed files with 2 additions and 3 deletions

View File

@ -271,9 +271,7 @@ fn main() {
}
}
Err(e) => {
if !output_std && !output_std_csv {
println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string());
}
println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string());
SearchResult {
name: schem.get_name(),
matches: vec![]

View File

@ -18,6 +18,7 @@
use std::path::PathBuf;
#[cfg(feature = "sql")]
use futures::executor::block_on;
use schemsearch_files::Schematic;
#[cfg(feature = "sql")]
use schemsearch_sql::{load_schemdata, SchematicNode};