Fixup: File::from_parser_result() gets module now as well
This commit is contained in:
parent
9a0cc75c6f
commit
0796d0ab36
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ impl StorageBackend {
|
||||||
fs.read_to_string(&mut s);
|
fs.read_to_string(&mut s);
|
||||||
debug!("Success reading file with id '{}'", id);
|
debug!("Success reading file with id '{}'", id);
|
||||||
debug!("Parsing to internal structure now");
|
debug!("Parsing to internal structure now");
|
||||||
p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(id, h, d))).ok()
|
p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(m, id.clone(), h, d))).ok()
|
||||||
} else {
|
} else {
|
||||||
debug!("No file with id '{}'", id);
|
debug!("No file with id '{}'", id);
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue