Fixup glob string generating
This commit is contained in:
parent
08fa8f8655
commit
5c38e6752b
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ impl StorageBackend {
|
|||
|
||||
pub fn iter_ids(&self, m: &Module) -> Result<IntoIter<FileID>, StorageBackendError>
|
||||
{
|
||||
glob(&self.prefix_of_files_for_module(m)[..])
|
||||
let globstr = self.prefix_of_files_for_module(m) + "*.imag";
|
||||
debug!("Globstring = {}", globstr);
|
||||
glob(&globstr[..])
|
||||
.and_then(|globlist| {
|
||||
debug!("Iterating over globlist");
|
||||
Ok(globlist.filter_map(Result::ok)
|
||||
|
|
Loading…
Reference in a new issue