Skip to content

Commit

Permalink
Remove 'encoding' arg to make build work on RTD py2
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Aug 14, 2016
1 parent b91c087 commit f79e872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

def _get_version():
init = os.path.join('..', 'cooler', '__init__.py')
with open(init, encoding='utf-8') as fh:
with open(init) as fh:
text = fh.read()
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
Expand Down

0 comments on commit f79e872

Please sign in to comment.