Skip to content

Commit

Permalink
#59 UnicodeDecodeError in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
r4fek committed Apr 21, 2016
1 parent 7af665c commit a69f527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@


try:
with open('README.rst', 'r') as f:
with open('README.rst', 'rb') as f:
LONG_DESCRIPTION = f.read().decode('utf-8')
except IOError:
with open('README.md', 'r') as f:
with open('README.md', 'rb') as f:
LONG_DESCRIPTION = f.read().decode('utf-8')

with open('requirements.txt', 'r') as f:
Expand Down

0 comments on commit a69f527

Please sign in to comment.