From 61af0f741ccdf986e523fa727e9d49752b4dea4c Mon Sep 17 00:00:00 2001 From: Manuel Guenther <manuel.guenther@idiap.ch> Date: Thu, 18 Jun 2015 16:06:15 +0200 Subject: [PATCH] Small bug fix --- bob/bio/base/tools/scoring.py | 2 +- buildout.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bob/bio/base/tools/scoring.py b/bob/bio/base/tools/scoring.py index 06aecdbd..e2c13d7f 100644 --- a/bob/bio/base/tools/scoring.py +++ b/bob/bio/base/tools/scoring.py @@ -43,7 +43,7 @@ def _open_to_read(score_file): """check for the existence of the normal and the compressed version of the file, and calls bob.measure.load.open_file for the existing one.""" if not os.path.exists(score_file): score_file += '.tar.bz2' - if not os.path.exist(score_file): + if not os.path.exists(score_file): f.close() os.remove(output) raise IOError("The score file '%s' cannot be found. Aborting!" % score_file) diff --git a/buildout.cfg b/buildout.cfg index 1886d156..a64aa942 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -11,7 +11,7 @@ extensions = bob.buildout develop = . ; options for bob.buildout -debug = true +debug = false verbose = true newest = false -- GitLab