Skip to content

Commit

Permalink
Adding IOError exception for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
philkr committed May 10, 2015
1 parent 73af215 commit a1ee437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def loadAndOverSegDataset( loader, name, detector="sf", N_SPIX=1000 ):
for i in over_segs:
over_seg.append( decompress(i) )
return over_seg,[decompress(i) for i in segmentations],[decompress(i) for i in boxes],names
except FileNotFoundError:
except IOError:
pass

# Load the dataset
Expand Down

0 comments on commit a1ee437

Please sign in to comment.