Skip to content

Commit

Permalink
Better file safety in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
utf committed Apr 17, 2018
1 parent 2238946 commit e820fc3
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 @@ -13,7 +13,7 @@ def load_test_suite():
test_suite = test_loader.discover('tests/tests_symmetry')
return test_suite

with open('README.rst') as file:
with open('README.rst', 'r') as file:
long_description = file.read()

setup(
Expand Down

0 comments on commit e820fc3

Please sign in to comment.