Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Guenther committed Jun 18, 2015
1 parent c42fdf6 commit 61af0f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bob/bio/base/tools/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extensions = bob.buildout
develop = .

; options for bob.buildout
debug = true
debug = false
verbose = true
newest = false

Expand Down

0 comments on commit 61af0f7

Please sign in to comment.