diff --git a/bob/bio/base/database/filelist/query.py b/bob/bio/base/database/filelist/query.py index 09ae85f89744affd70295a832909cb92ec4c7af6..2447c71aa213c9da463aa365d895aae3bbabcd7f 100644 --- a/bob/bio/base/database/filelist/query.py +++ b/bob/bio/base/database/filelist/query.py @@ -289,7 +289,7 @@ class FileListBioDatabase(ZTBioDatabase): scores = True for group in self.groups(protocol, add_world=False): probes = probes and os.path.exists(self._get_list_file(group, type='for_probes', protocol=protocol)) - scores = probes and os.path.exists(self._get_list_file(group, type='for_scores', protocol=protocol)) + scores = scores and os.path.exists(self._get_list_file(group, type='for_scores', protocol=protocol)) # decide, which score files are available if probes and not scores: return True