Skip to content
Snippets Groups Projects
Commit 012078c4 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed copy and paste issue in line 46. This was breaking the code

parent 77727589
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,6 @@ def _open_to_read(score_file): ...@@ -43,8 +43,6 @@ def _open_to_read(score_file):
if not os.path.exists(score_file): if not os.path.exists(score_file):
score_file += '.tar.bz2' score_file += '.tar.bz2'
if not os.path.exists(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) raise IOError("The score file '%s' cannot be found. Aborting!" % score_file)
return bob.measure.load.open_file(score_file) return bob.measure.load.open_file(score_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment