Skip to content

Commit

Permalink
rst encoding issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-anand committed Sep 22, 2020
1 parent ba3cc04 commit 230fd45
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@

__version__ = VERSION

try:
if sys.version_info[:2] <= (2, 7):
with open("README.rst") as f:
long_description = f.read()
else:
with open("README.rst", encoding="utf8") as f:
long_description = f.read()
finally:
f.close()

if sys.version_info[:2] <= (2, 7):
with open("README.rst") as f:
long_description = f.read()
else:
with open("README.rst", encoding="utf8") as f:
long_description = f.read()


setup(
name='Filezen',
Expand Down

0 comments on commit 230fd45

Please sign in to comment.