Skip to content

Commit

Permalink
python 2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Oct 18, 2017
1 parent 73fffb2 commit 4e8cd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emcee/backends/hdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def initialized(self):
try:
with self.open() as f:
return self.name in f
except OSError:
except (OSError, IOError):
return False

def open(self, mode="r"):
Expand Down

0 comments on commit 4e8cd73

Please sign in to comment.