diff --git a/src/modules/loader.rs b/src/modules/loader.rs index cfd1c7c..c347ea6 100644 --- a/src/modules/loader.rs +++ b/src/modules/loader.rs @@ -33,7 +33,9 @@ impl ModuleLoader { } pub fn load_from_configuration (&self, configuration: Table) -> Result>, ModuleLoaderError> { - configuration.into_iter().map(|(key, value)| { + configuration.into_iter().filter(|&(ref key, _)| { + key != "general" + }).map(|(key, value)| { match value.as_table() { Some(table) => { let module = self.load_single_module(&key, table)?;