Skip to content

Commit

Permalink
Hotfix for Python3 error in setup.py (Issue #14):
Browse files Browse the repository at this point in the history
File "setup.py", line 49, in <module>
  long_description=read('README.rst'),
File "setup.py", line 28, in read
  return sep.join(buf)
TypeError: sequence item 0: expected str instance, bytes found
  • Loading branch information
mbeissinger committed Jun 15, 2015
1 parent c3003ca commit 678991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
mode = kwargs.get('mode', 'rb')
mode = kwargs.get('mode', 'r')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
Expand Down

0 comments on commit 678991c

Please sign in to comment.