Skip to content

Commit

Permalink
Merge pull request #8 from jennib3/master
Browse files Browse the repository at this point in the history
Updated setup.py to extent exception to cover unicode error
  • Loading branch information
linusg authored Jul 20, 2018
2 parents 773e09e + f49a03f commit ec3b641
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 @@ -4,7 +4,7 @@
try:
with open('README.md', 'r') as f:
long_description = f.read()
except FileNotFoundError:
except (FileNotFoundError, UnicodeDecodeError):
long_description = ""

setup(
Expand Down

0 comments on commit ec3b641

Please sign in to comment.