Skip to content

Commit

Permalink
Replace encoding by decode for 2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
psarka committed Jun 7, 2021
1 parent 626585e commit c120627
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 @@ -21,8 +21,8 @@
from setuptools import find_packages
from setuptools import setup

with open("README.md", "r", encoding="utf-8") as readme:
long_description = readme.read()
with open("README.md", "rb") as readme:
long_description = readme.read().decode('utf-8')

install_requires = [
'six',
Expand Down

0 comments on commit c120627

Please sign in to comment.