Skip to content

Commit

Permalink
Merge pull request #110 from keflavich/another_writer_fix
Browse files Browse the repository at this point in the history
Another small writer fix
  • Loading branch information
cdeil committed Apr 17, 2017
2 parents 1ed4673 + bc12dca commit 41779cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyregion/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def write(self, outfile):
print("WARNING: The region list is empty. The region file "
"'{:s}' will be empty.".format(outfile))
try:
outf = open(outfile, 'w')
outf = _builtin_open(outfile, 'w')
outf.close()
return
except IOError as e:
Expand Down

0 comments on commit 41779cc

Please sign in to comment.